Valid 1z0-071 Dumps shared by ExamDiscuss.com for Helping Passing 1z0-071 Exam! ExamDiscuss.com now offer the newest 1z0-071 exam dumps, the ExamDiscuss.com 1z0-071 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1z0-071 dumps with Test Engine here:
Examine the description of the MEMBERS table; 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?
Correct Answer: C,E
To achieve the desired output for the query from the MEMBERS table: C . ORDER BY 1, LNAME DESC: This clause correctly sorts the results first by the first column (city) in ascending order by default, and then by the alias LNAME (last_name) in descending order. E . WHERE city LIKE '%AN%': This clause correctly filters the rows to include only those cities containing the string 'AN' anywhere in the city name, using the LIKE operator which is suitable for pattern matching. Incorrect options: A: This would order both columns in ascending order, which does not meet the requirement for last_name to be in descending order. B: This misplaces the order priorities and uses explicit column names that contradict the sorting requirement specified. D: Incorrect syntax for a LIKE clause; equality operator cannot be used with wildcards. F: The IN operator is incorrectly used here with a pattern, which is not valid syntax.