Fixed SQL statement.