https://ixnfo.com/reshenie-oshibki-1064-you-have-an-error-in-your-sql-syntax.html
Решение ошибки #1064 - You have an error in your SQL syntax