Question DB-SQL-0059
MediumWhy does WHERE COUNT() > 2 cause an error while HAVING COUNT() > 2 works?
- A.
WHERE filters rows before grouping, when aggregates are not yet computed
- B.
WHERE cannot contain numbers
- C.
Sign up free to see the answer and a step-by-step explanation.