Difficulty: Easy
Correct Answer: UPDATE
Explanation:
Introduction / Context:
CRUD stands for Create, Read, Update, Delete—four fundamental operations in data management. Knowing which command corresponds to each action is essential for both SQL users and application developers who call these operations via ORM or direct queries.
Given Data / Assumptions:
Concept / Approach:
The SQL statement for modifying existing data is UPDATE. It sets new values for columns, typically with a WHERE clause to target specific rows. INSERT adds new rows. DELETE removes rows. SELECT reads data. Non-SQL verbs like “LOOKUP” describe UI actions, not DML commands.
Step-by-Step Solution:
Verification / Alternative check:
Any SQL reference shows UPDATE as the canonical operation for changing field values in place.
Why Other Options Are Wrong:
Common Pitfalls:
Omitting the WHERE clause and unintentionally updating all rows; forgetting transactions and rollback plans; not validating inputs leading to unintended data changes.
Final Answer:
UPDATE
Discussion & Comments