1.

Which keyword used with UNION retains duplicate rows?(a) ALL(b) NARROW(c) STRICT(d) DISTINCT

Answer» The correct option is (a) ALL

Easy 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.


Discussion

No Comment Found