DELETE語法用來刪除表中的行數(shù)據(jù),可指定過濾條件。
語法
DELETE FROM table_name WHERE where_clause;
示例
DELETE FROM dt WHERE p1 = 10 AND p2 = 20;
DELETE FROM dt WHERE p1 > 10;
DELETE語法用來刪除表中的行數(shù)據(jù),可指定過濾條件。
DELETE FROM table_name WHERE where_clause;
DELETE FROM dt WHERE p1 = 10 AND p2 = 20;
DELETE FROM dt WHERE p1 > 10;