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

Correct Answer :   ALL


Explanation : The keyword ‘ALL’ used along with ‘UNION’ is not synonymous with just the ‘UNION’ statement. It produces the duplicate rows, if they exist, from the combination of the two tables in the SELECT query.

Advertisement