Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

SQLite Code Factory online Help

Prev Return to chapter overview Next

DELETE

sql-statement ::=

DELETE FROM table-name [WHERE expr]

The DELETE command is used to remove records from a table. The command consists of the "DELETE FROM" keywords followed by the name of the table from which records are to be removed.

 

Without a WHERE clause, all rows of the table are removed.

 

If a WHERE clause is supplied, then only those rows that match the expression are removed.



Prev Return to chapter overview Next