Answers to Stanford Database SQL mini-course questions.