Easy
Given the following 'employees' table:
| employee_id | name | salary | department |
|-------------|---------|--------|------------|
| 1 | Alice | 3000 | HR |
| 2 | Bob | 3500 | IT |
| 3 | Charlie | 4000 | IT |
Which SQL query retrieves employees with a salary higher than the average salary?
Author: W3D TeamStatus: PublishedQuestion passed 3220 times
Edit
8
Community EvaluationsNo one has reviewed this question yet, be the first!
11
Count the number of rows in an SQL table17
Which SQL keyword is used to sort the result of a SELECT statement?55
Write a SQL query to retrieve the list of employees with a salary greater than 5100.14
Write the SQL query to delete a column from a table19
Update a column in an SQL table21
Write a SQL query to insert data into a table21
Select only distinct values in a column using SQL