DEV Community

Danilsa Caraballo
Danilsa Caraballo

Posted on

2

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)

Billboard image

Try REST API Generation for MS SQL Server.

DevOps for Private APIs. With DreamFactory API Generation, you get:

  • Auto-generated live APIs mapped from database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay