SQL Tutorial: DELETE

The SQL DELETE Query is used to delete the existing records from a table. You can combine with the WHERE clause in the query to delete the selected rows

Syntax

DELETE FROM table_name
WHERE [condition]

For Example:

delete from Products
where ProductID = 25

You can delete all records

delete from Products

 

Related Posts