Question discussion

Which SQL keyword is used to eliminate duplicate rows from the result of a SELECT query?

1563Medium DSSSB TGT Computer Science 0 replies 1 views
0

Which SQL keyword is used to eliminate duplicate rows from the result of a SELECT query?

  • AUNIQUE
  • BDIFFERENT
  • CDISTINCT
  • DSINGLE
Correct answer: C

Explanation

SELECT DISTINCT returns only distinct rows; UNIQUE is a constraint, not a SELECT modifier.

Discussion 0

Nobody has replied yet. Start the discussion!