Question from the SQL - Fundamentals test

Write a SQL query to retrieve the list of employees with a salary greater than 5100.

Easy

Given the following 'employees' table:

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

Which SQL query retrieves the list of employees with a salary greater than 5100?

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