HAVING
WHERE filters rows before grouping. HAVING filters groups after the aggregate is known.
task
Customers with more than 20 orders.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
WHERE filters rows before grouping. HAVING filters groups after the aggregate is known.
Customers with more than 20 orders.