📜  按id删除记录sql代码示例

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

代码示例1
CREATE TABLE my_table (
    my_id INT NOT NULL,  
      name VARCHAR(100)
);

DELETE FROM my_table WHERE my_id = 100;
COMMIT;                -- if autocommit is off