Assignment 2&3 Relational Algebra & SQL Solution