Which SQL clause is used to retrieve data that meets some specified conditions?
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: 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.
Related questions:
2025: 30 May Shift 2
2025: 3 June Shift 2
2026: 23 May Shift 2
2026: 24 May Shift 1