What is difference between using GROUP BY together with WHERE and HAVING clause?
Sigiloso
Difference is that, when we're using GROUP BY together with WHERE, the order of operations is that records are firstly filtered, and after that grouped. On the other side, HAVING is applied on the previously grouped/aggregated data.