EasyOutput prediction

Scalar subquery in WHERE

Given this table (employees):

idnamesalary
1Alice90000
2Bob75000
3Carol82000

What does this query return?

SELECT name FROM employees
WHERE salary > (SELECT AVG(salary) FROM employees);

← → arrow keys to navigate

Sign in to save your progress.

Scalar subquery in WHERE - SQL Subqueries Quiz | Unnested