Error number: -2147217900

Error description: [MySQL][ODBC 3.51 Driver][mysqld-5.7.16-log]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'matching records! or id=20 and lng="LOC") order by red' at line 1