Skip to content · ⁨コンテンツへスキップ⁩

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 with a WHERE removes only the matching row

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP