Google News
logo
MySQL - Quiz(MCQ)
The keyword used with UNION that does not retain duplicate rows is ______
A)
ALL
B)
STRICT
C)
NARROW
D)
DISTINCT

Correct Answer :   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.

Advertisement