Q:

delete all records from table


 DELETE FROM table_name WHERE condition;
 
41
DELETE FROM table_name WHERE condition;
14
DELETE FROM table_name;
5
 DELETE FROM table_name WHERE condition;
12
-- Deletes all records where `columnName` matches the values in brackets.
DELETE FROM tableName WHERE columnName IN ('val1', 'val2', 'val3');
3
delete from yourTableName where yourColumnName NOT
IN(‘yourValue1’,‘yourValue2’,‘yourValue3’,.........N);
0

Tags

Related

New to Communities?

Join the community