跳到主要内容
English
Removing rows with DELETE

DELETE removes the rows that match a WHERE condition:

DELETE FROM product WHERE code = 'P03';

Only the matching rows are removed; the table and its other rows stay.

DELETE FROM student WHERE id = 2 removes the row for Tom

讲义

登录或创建账户

IGCSE, A-Level & AP