delete the table elements code example Example 1: mysql delete row DELETE FROM products WHERE product_id=1; Example 2: delete all records from table DELETE FROM table_name;