Getting error: You have an error in your SQL syntax

Avatar
  • updated
  • Answered

Hi


I am getting an error like this. Please help me.


ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND deleted =1 AND id=611' at line 1


please help me

Avatar
johnpaulb-imhs1
Hello,

Thank you for your question regarding an SQL syntax error. We are happy to help you troubleshoot further, but will need some additional information. Can you provide a sample of your SQL code, so we can help narrow down where the syntax error.

For example, the error indicates a syntax error near this line:
'AND deleted =1 AND id=611' at line 1

You should review the coding for this line.

Thank you,
John-Paul