InterviewSolution
Saved Bookmarks
| 1. |
Which keyword used with UNION does not retain duplicate rows?(a) ALL(b) NARROW(c) STRICT(d) DISTINCT |
|
Answer» The correct answer is (d) DISTINCT For explanation: The keyword ‘DISTINCT’ used along with ‘UNION’ is synonymous with just the ‘UNION’ statement. It produces only the distinct rows from the combination of the two tables in the SELECT query. |
|