Passer au contenu
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

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP