xxxxxxxxxx
-- Deletes all records where `columnName` matches the values in brackets.
DELETE FROM tableName WHERE columnName IN ('val1', 'val2', 'val3');
xxxxxxxxxx
DELETE FROM table_name WHERE condition;
-- Ex.
DELETE FROM Customers WHERE CustomerName='Mustafa Mbari';
xxxxxxxxxx
DELETE FROM tableA
WHERE ROWID IN
( SELECT q.ROWID
FROM tableA q
INNER JOIN tableB u on (u.qlabel = q.entityrole AND u.fieldnum = q.fieldnum)
WHERE (LENGTH(q.memotext) NOT IN (8,9,10) OR q.memotext NOT LIKE '%/%/%')
AND (u.FldFormat = 'Date'));
xxxxxxxxxx
DELETE FROM table_name
WHERE condition;
Delete from Employee
where id = 12;
xxxxxxxxxx
-- removes record from a database table
DELETE FROM Customers WHERE CustomerID = 1;
-- Kindly upvote this answer if it helped you.
xxxxxxxxxx
Delete data from a table.
Example: Removes a user with a user_id of 674.
DELETE FROM users WHERE user_id = 674;
xxxxxxxxxx
Mit DELETE werden einzelne oder mehrere Datensätze gelöscht. Mit WHERE
werden nur bestimmte Datensätez gelöscht.
DELETE FROM suppliers
WHERE
supplier_name = 'Microsoft';