Skip to main contentSkip to solution

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.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question