SQL queries used during the exercise:


Home.