Skip to content

Deleting rows

Handout

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