How many rooms whose capacity is less than 50 does the Lamberton building have?
SELECT count(*) FROM classroom WHERE building  =  'Lamberton' AND capacity  <  50
rooms whose capacity is less than 50 refers to capacity < 50; the Lamberton building refers to building = 'Lamberton'; count of rooms refers to COUNT(*);