Difficulty: Easy
Correct Answer: Correct
Explanation:
Introduction / Context:
The classic SQL DML (Data Manipulation Language) operations are INSERT, UPDATE, and DELETE. The question uses the word “modify” to refer to UPDATE, which is the standard term. Understanding this trio is foundational to writing transactional applications.
Given Data / Assumptions:
Concept / Approach:
INSERT adds new rows; UPDATE modifies existing rows; DELETE removes rows. Many vendors also implement MERGE (or INSERT ... ON CONFLICT/REPLACE variants) to combine insert/update logic, but these are built upon the same fundamental operations. Therefore, describing “three data modification operations” is pedagogically correct.
Step-by-Step Solution:
Verification / Alternative check:
SQL documentation and reference cards universally present INSERT/UPDATE/DELETE as the primary DML trio.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing TRUNCATE (bulk delete semantics) with the core DML triad; assuming MERGE is fundamental rather than syntactic sugar around inserts/updates/deletes.
Final Answer:
Correct
Discussion & Comments