***************************************************************************************
SQL commands to delete rows from table
**********************************************************************************
The delete statement is used to delete records or rows from the table.
DELETE FROM "tablename" WHERE "columnname" OPERATOR "value" [and|or "column" OPERATOR "value"];
[ ] = optional
Examples:
DELETE FROM employee;
Note: if you leave off the where clause, all records will be deleted!
DELETE FROM employee WHERE lastname = 'May';
DELETE FROM employee WHERE firstname = 'Mike' or firstname = 'Eric';
To delete an entire record/row from a table, enter "delete from" followed by the table name, followed by the where clause which contains the conditions to delete. If you leave off the where clause, all records will be deleted!! ******************************************************************************
|