added SQL. changes to ER diagram