Fixing error in the SQL file