delete all rows in sql code example
Example 1: delete all records from table
DELETE FROM table_name;
Example 2: sql delete
DELETE FROM table_name WHERE condition;
-- Ex.
DELETE FROM Customers WHERE CustomerName='Mustafa Mbari';
DELETE FROM table_name;
DELETE FROM table_name WHERE condition;
-- Ex.
DELETE FROM Customers WHERE CustomerName='Mustafa Mbari';