Skip to main contentSkip to solution

Which SQL clause is used to retrieve data that meets some specified conditions?

Solution

✅ Correct Option: 4

The WHERE clause filters rows so that only those meeting the specified condition are returned, for example SELECT * FROM student WHERE marks > 80;\texttt{SELECT * FROM student WHERE marks > 80;}


SELECT: chooses which columns to display, but does not filter rows by a condition.

GROUP BY: groups rows with the same value so aggregate functions like COUNT or SUM can be applied.

ORDER BY: only sorts the result, in ascending or descending order.

Keyboard Shortcuts

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