Updated on 2022-02-22 GMT+08:00

DELETE

DELETE is used to delete rows that meet conditions from a table.

Common Syntax

DELETE [IGNORE]
FROM tbl_name [WHERE where_condition]

Syntax Restrictions

  • The WHERE clause does not support subqueries, including correlated subqueries and non-correlated subqueries.
  • Data in reference tables cannot be deleted when multiple tables are deleted.