Q87 Examine the description of the members table:
Examine the partial query:
SELECT city, last_name LNAME FROM members…
You want to display all cities that contain the string AN. The cities must be returned in ascending order, with the last names further sorted in descending order.
Which two clauses must you add to the query?
- (A). ORDER BY 1, LNAME DESC
- (B). ORDER BY 1, 2
- (C). WHERE city LIKE ‘%AN%’
- (D). WHERE city = = ‘%AN%’
- (E). WHERE city IN (‘%AN%’)
- (F). ORDER BY last_name DESC, city ASC
Answer: A,C