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 1720 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!