Machine-translated by Google. Questions are authored in English.
Top

Discussion

The keyword to eliminate duplicate rows from the query result in SQL is

  • A.DISTINCT
  • B.NO DUPLICATE
  • C.UNIQUE
  • D.None of the above

Answer: C

Correct answer: DISTINCT

SELECT DISTINCT removes duplicate rows from the result. UNIQUE is a constraint declared on a column when the table is defined; it prevents duplicates being stored rather than filtering them out of a query.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.