Did the SQL. Added comments