SQL assignment from Introduction to Data Science course