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