Q11medium
Examine the window function below. If three employees have the exact same salary and are tied for the highest pay, what will the RANK() function return for them?
Topic-wise practice questions for Database Management Systems. Test your knowledge, check solutions on demand, and pace your preparation.
T1.val = T2.val?
SELECT name FROM Departments d
WHERE EXISTS (
SELECT 1 FROM Employees e
WHERE e.dept_id = d.id AND e.salary > 10000