Interactive Online SQL Training |
|
|
Deleting RecordsThe delete statement is used to delete records or rows from the table.
[The above example was line wrapped for better viewing on this Web page.] Examples:
Note: if you leave off the where clause, all records will be deleted!
To delete an entire record/row from a table, enter " Delete statement exercises(Use the select statement to verify your deletes):
Create at least two of your own delete statements, and then issue a command to delete all records from the table. SQL Interpreter
|
|||||||||||||||||||||||||||||||||||||||||||||||||
![]() |