A series of SQL queries for homework.