Find the buildings which have rooms with capacity more than 50.
select distinct building from classroom where capacity > 50