remove invalid SQL queries in sql folder