Question 18
Back to Exercise
Match the SQL clauses with their job.
| List I (Clause) | List II (Job) |
|---|---|
| A. WHERE | 1. Groups rows |
| B. ORDER BY | 2. Filters groups |
| C. GROUP BY | 3. Filters rows |
| D. HAVING | 4. Sorts the result |
Choose the correct code (A-B-C-D):
- A 4-3-2-1
- B 3-4-1-2 Correct
- C 2-1-4-3
- D 1-3-2-4
Correct Answer: Option B
WHERE; ORDER BY; GROUP BY; HAVING.
Correct code: 3-4-1-2
Trap: the other options are related Office and database terms that examiners use as look-alike distractors.
Answer: 3-4-1-2
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!