Context: CREATE TABLE building (height_feet INTEGER, floors INTEGER)
Question: Show the number of buildings with a height above the average or a number of floors above the average.
Answer: SELECT COUNT(*) FROM building WHERE height_feet > (SELECT AVG(height_feet) FROM building) OR floors > (SELECT AVG(floors) FROM building)