Deleted SQL statements that don't work on Postgres