InterviewSolution
Saved Bookmarks
| 1. |
Which clause is used to sort a UNION result as a whole?(a) LIMIT(b) ORDER BY(c) GROUP BY(d) SORT |
|
Answer» The correct answer is (b) ORDER BY Easiest explanation: The ‘ORDER BY’ clause is used along with the ‘UNION’ statement to sort a ‘UNION’ result as a whole. It is placed after the last ‘SELECT’ statement which is kept in parentheses. |
|