MySQL Tutorial

A database system used with PHP.

MySQL DELETE

The MySQL DELETE Statement

The DELETE statement is used to delete existing records in a table.

Syntax:

DELETE FROM table_name WHERE condition;

Warning! Be careful when deleting records. If you omit the WHERE clause, all records in the table will be deleted!

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics