relational algebra assignment 1, SQL