DEV Community

Danilsa Caraballo
Danilsa Caraballo

Posted on

DELETE on SQL

When a row is deleted from the database, using in the restriction the id attribute, whose value is unique. However, all also it’s possible using in the restriction others attributes or columns with specific value, eg:

~ DELETE FROM friends WHERE name = 'Danil' OR name = 'Gracia';

Top comments (0)