-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With rollback
DELETE FROM my_table;
COMMIT;
DELETE FROM table_name;
DELETE FROM table1 #delete all record
DELETE FROM my_table WHERE col1 > 2;
DELETE FROM my_table WHERE col1 IS NOT NULL;
TRUNCATE table my_table;
delete from yourTableName where yourColumnName NOT
IN(‘yourValue1’,‘yourValue2’,‘yourValue3’,.........N);
DELETE FROM category where category_model is 'NULL';
select '123'+'123' as result;