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)

We want your help! Become a Tag Moderator.
Check out this survey and help us moderate our community by becoming a tag moderator here at DEV.