Home / Programming MCQs / MySQL MCQs / Question

N

Nitin Gupta • 1.72K Points
Master

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

(A) DISTINCT
(B) STRICT
(C) NARROW
(D) ALL

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.