我需要帮助删除新插入的行

时间:2017-02-26 20:10:25

标签: mysql

我插入的行是:

insert into planes (Tailnum, year, type, manufacturer, model, engines, seats, speed, engine)
Values ('N15501','2013','fixed wing single engine', 'BOEING', 'A222-01', '3', '100', NULL, 'TURBO-FAN');

插入后我需要删除该行。

1 个答案:

答案 0 :(得分:0)

假设Tailnum是表格中此行的唯一标识符

你可以使用删除

delete from planes
where Tailnum  ='N15501';