updated sql

SQL file was outdated causing errors. updated the file to fix this.