Home » MYSQL » Managing MySQL Users » Question
  1. The keyword used with UNION that does not retain duplicate rows is _____________.
    1. DISTINCT
    2. STRICT
    3. NARROW
    4. ALL
    5. None of these
Correct Option: A

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.



Your comments will be displayed only after manual approval.