SELECT count(*) ,  building FROM classroom WHERE capacity  >  50 GROUP BY building
How many rooms in each building have a capacity of over 50?
SELECT count ( * ) , building FROM classroom WHERE capacity > 50 GROUP BY building
select count ( * ) , building from classroom where capacity > value group by building
How many rooms in each building have a capacity of over 50 ?