Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Explain how a database is modified in SQL. OR Explain database modification.

1. Delete:

  • Purpose: To remove rows from a table based on specified conditions.
  • Key Points:
    • Deletes entire rows, not just specific attribute values.
    • Works only on a table.
    • Syntax:

2. Insert:

  • Purpose: To add new data into a table.
  • Key Points:
    • Values must match the order of attributes and their specified domains.
  • Syntax:

3. Update:

  • Purpose: To modify existing data in a table.
  • Key Points:
    • Changes the value of a specific column in a tuple.
  • Syntax:

Leave a Comment