Q:

Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE

0

Table Employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE

So, What the below SQL statement will return:

SELECT COUNT(*) FROM Employee WHERE SALARY > ANY (SELECT SALARY FROM EMPLOYEE);

  1. 10
  2. 9
  3. 5
  4. 0

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

9

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

SQL (Structured Query Language) MCQ Quiz (Multiple Choice Questions And Answers)

Similar questions


need a help?


find thousands of online teachers now
The SQL statement - SELECT SUBSTR(\'abcdefghi... >>
<< A SQL query will not work if there are no indexes ...