Question from the SQL - Fundamentals test

Write a SQL query to increase the salary of all employees by 10%.

Easy

Given the following 'employees' table:

| emp_id | first_name | last_name | salary |
|--------|------------|-----------|--------|
| 1      | John       | Doe       | 5000   |
| 2      | Jane       | Smith     | 5500   |
| 3      | Alice      | Johnson   | 6000   |

Which SQL query increases the salary of all employees by 10%?

Author: Vincent CotroStatus: PublishedQuestion passed 2225 times
Edit
4
Community EvaluationsNo one has reviewed this question yet, be the first!