What will be the correct sequence of the following SQL clauses/snippets when they are used to make modification in the existing data?
(A) attribute = value
(B) SET
(C) UPDATE
(D) tablename
What will be the correct sequence of the following SQL clauses/snippets when they are used to make modification in the existing data?
(A) attribute = value
(B) SET
(C) UPDATE
(D) tablename
Solution
✅ Correct Option: 4
The SQL syntax for modifying existing data is . The table is named right after UPDATE, and SET then introduces the change.
(C) UPDATE
(D) tablename
(B) SET
(A) attribute = value
Example:
Options 1 and 2: put the table name last, but SQL needs it immediately after UPDATE so the database knows which table to change.
Related questions:
2026: 23 May Shift 2
2026: 20 May Shift 1
2026: 26 May Shift 1
2025: 14 May Shift 1