SQL statements for assignment 3