A

Admin • 833K Points
Coach

Q. What does this query do?

Code:
SELECT name FROM students WHERE name LIKE 'A%';
  • (A) Selects students with names starting with A
  • (B) Selects students with names ending in A
  • (C) Selects students with names containing A
  • (D) Selects all students
  • Correct Answer - Option(A)
  • Views: 32
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

`'A%'` matches strings that start with 'A'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.