📜  从表 sql 代码示例中删除记录

📅  最后修改于: 2022-03-11 15:05:17.429000             🧑  作者: Mango

代码示例4
DELETE FROM my_table;        -- all rows
DELETE FROM my_table WHERE my_id = 12345;
DELETE FROM my_table WHERE my_id IN (SELECT id2 FROM my_table2);