Adapting Ethan's SQL notes for UCL boot camp.