Domanda di colloquio di TCS

What is the difference between WHERE and HAVING in SQL?

Risposta di colloquio

Anonimo

24 gen 2026

WHERE filters rows before grouping, while HAVING filters aggregated results after GROUP BY.