GROUP BY HAVING not working for my query

Printable View