DELETE

The DELETE statement allows you to delete data from a table. The table structure remains in the database. This command is often confused with DROP as it deletes data and the table structure from the database.

Structure:

 

DELETE FROM table_name;

 

Example1:

DELETE FROM Staff
WHERE Staff_Name = 'Frank';

 

Leave a Comment

Your email address will not be published. Required fields are marked *