MySQL LIMIT on DELETE statement
问题 I put together a test table for a error I recently came across. It involves the use of LIMIT when attempting to delete a single record from a MySQL table. The error I speak of is " 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 'LIMIT 1' at line 1 " The table I put together is called test ; it has 3 columns, id , name and created . I populated the table with several records and then attempted to delete one.