Ten worked SQL problems on one table: filtering, grouping, HAVING, subqueries, self join and set operations, each with its result.