Find Employees with Above-Average Salary

Query employees who earn more than the company’s average salary.

An Nguyễn VănAn Nguyễn Văn
November 10, 2025
20 views
0 saves

Code

1SELECT name, salary
2FROM employees
3WHERE salary > (SELECT AVG(salary) FROM employees);
4

About the Author

An Nguyễn Văn

An Nguyễn Văn

@an-nguyen-99

Test tiểu sử 3

View Profile