Difficulty: Easy
Correct Answer: It limits which rows are returned.
Explanation:
Introduction / Context:
SELECT statements are composed of clauses with distinct responsibilities. Understanding what each clause does improves correctness and performance. Confusing the job of WHERE with SELECT or ORDER BY is a common beginner error.
Given Data / Assumptions:
Concept / Approach:
WHERE filters rows before projection. The SELECT list chooses which columns (and expressions) to return, while WHERE removes rows that do not satisfy the predicate. ORDER BY controls the result ordering and does not change which rows qualify.
Step-by-Step Solution:
Verification / Alternative check:
Logical query processing order shows WHERE acting before SELECT; thus, WHERE affects row qualification, not column selection.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
It limits which rows are returned.
Discussion & Comments