2.8. DELETE

A delete query can be used to delete rows which match a given criteria.

2.8.1. Syntax

delete from tablename where condition

2.8.2. Examples

delete from stock_item where quantity = 0;