The Employee table has exactly 10 rows. Its SALARY column is non-NULL and…

The Employee table has exactly 10 rows. Its SALARY column is non-NULL and UNIQUE. No individual salary values are needed.

What does the following SQL statement return?

SELECT COUNT(*)
FROM Employee
WHERE SALARY > ANY (SELECT SALARY FROM Employee);
  1. A.

    10

  2. B.

    9

  3. C.

    5

  4. D.

    0

Attempted by 149 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…