Which of the following statement correctly update increase in the Salary by 10% in the table 'EMP'?
Which of the following statement correctly update increase in the Salary by 10% in the table 'EMP'?
Solution
✅ Correct Option: 3
UPDATE changes the values stored in existing rows. A 10% increase means the new salary is 110% of the old one, so it is written as Salary * 1.10 (the same as Salary + Salary * 0.10).
Option 1: adds a flat 10 to every salary, not 10%.
Options 2 and 4: ALTER changes the structure of a table (columns, constraints), not the data in its rows, and it has no SET clause for this use.
Related questions:
2026: 24 May Shift 1
2026: 29 May Shift 1
2025: 3 June Shift 2
2026: 23 May Shift 2