Removed deprecated SQL statement.