Getting error: You have an error in your SQL syntax
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