Updated on 2023-10-09 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 Constraints

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