Skip to main contentSkip to solution

The SELECT statement when combined with __________ clause, returns records without repetition.

Solution

✅ Correct Option: 2

DISTINCT removes duplicate rows from the result of a SELECT statement, so each record appears only once. For example, SELECT DISTINCT city FROM students;\texttt{SELECT DISTINCT city FROM students;} lists each city a single time.


GROUP BY: it groups rows that share a value so aggregate functions like COUNT or SUM can be applied. It is not the clause meant for removing repeated records.

WHERE: it only filters rows by a condition and does not remove duplicates.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question