Q. The keyword used with UNION that does not retain duplicate rows is ________

  • (A) DISTINCT
  • (B) STRICT
  • (C) NARROW
  • (D) ALL
πŸ’¬ Discuss
βœ… Correct Answer: (A) DISTINCT
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.
Explanation by: Nitin Gupta
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
282
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Nitin Gupta
Publisher
πŸ“ˆ
80%
Success Rate