I have a SQL statement thats basically the following
select * from table group by A Having A = "Something"
Problem is I need to display all records for B that are under 7
select Count(A) as Count from table group by A,B Having A= "Something" and B <= 7
But if I do it this...