Midterm Exam: Introduction to Database Systems: Solutions