SQL: WHERE clause is invalid (Error 1833)

There is an error in the WHERE clause. For more information, see SELECT - SQL.