1DELETE FROM table_name WHERE condition;
2-- Ex.
3DELETE FROM Customers WHERE CustomerName='Mustafa Mbari';
1Mit DELETE werden einzelne oder mehrere Datensätze gelöscht. Mit WHERE
2werden nur bestimmte Datensätez gelöscht.
3
4 DELETE FROM suppliers
5 WHERE
6 supplier_name = 'Microsoft';
7
1DELETE FROM my_table; -- all rows
2DELETE FROM my_table WHERE my_id = 12345;
3DELETE FROM my_table WHERE my_id IN (SELECT id2 FROM my_table2);
4COMMIT; -- don't forget it...
1Delete data from a table.
2Example: Removes a user with a user_id of 674.
3DELETE FROM users WHERE user_id = 674;