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
- A.
Greater than some employee’s salary in Dno 5
- B.
Greater than all employee’s salary in Dno 5
- C.
Less than all employee’s salary in Dno 5
- D.
Less than some employee’s salary in Dno 5
Attempted by 149 students.
Sign up free to check your answer
Sign up freeLoading lesson…

