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

February 22, 2024 · By Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

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:

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion