Post that inspired me to solve these problems
StrataScratch’s Advanced SQL 25 Questions