Uncle Buck interview question

Technical SQL test, reasoning test