delete FROM trm_out_receipt_discounts t where cash_id=1002017 and id=95161;
13:13:10 [DELETE - 0 row(s), 0.000 secs] [Error Code: 1064, SQL State: 42000] 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 'where cash_id=1002017 and id=95161' at line 1