Intermediate Database Management Homework