Skip to content

Deleting rows · ⁨删除行⁩

English

Removing rows with DELETE

DELETE removes the rows that match a WHERE condition:

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

中文

用 DELETE 删除行

DELETE 删除满足 WHERE 条件的那些行:

DELETE FROM product WHERE code = 'P03';

只有匹配的行被删除;表和它其余的行都保留。

带 WHERE 的 DELETE 只删除匹配的那一行

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩