Consider the relation Employee (SSN, Ename, Salary, Dno) Q: SELECT Ename FROM…

Consider the relation

Employee (SSN, Ename, Salary, Dno)

Q: SELECT Ename FROM Employee E1 WHERE NOT EXISTS ( SELECT Salary from Employee E2 WHERE Dno = 5 and E1. SALARY < = E2. SALARY)

‘Q’ gives the names of employees whose salary is

  1. A.

    Greater than some employee’s salary in Dno 5

  2. B.

    Greater than all employee’s salary in Dno 5

  3. C.

    Less than all employee’s salary in Dno 5

  4. D.

    Less than some employee’s salary in Dno 5

Attempted by 149 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…