Made more clarifications in the comments of the problems (specifically #9); fixed #12 to make query execute