Question DB-SQL-0002
EasyWhich SQL clause filters rows before grouping?
- A.
GROUP BY
- B.
WHERE
- C.
Show answer and explanation
Answer: B
WHERE filters individual rows; HAVING filters groups after GROUP BY.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
SQL question
Which SQL clause filters rows before grouping?
GROUP BY
WHERE
Answer: B
WHERE filters individual rows; HAVING filters groups after GROUP BY.
HAVING
ORDER BY