Can't use HAVING clause properly in SQL - Stack Overflow

Can't use HAVING clause properly in SQL - Stack Overflow