Answer Posted / santo
SELECT r.salary, r.department_id, r.RANK highest
FROM (SELECT salary, department_id,
DENSE_RANK () OVER (PARTITION BY
department_id ORDER BY salary DESC)
RANK
FROM employees) r
WHERE r.RANK <= 3
ORDER BY 2
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
what are local and global variables and their differences? : Sql dba
Explain how to use transactions efficiently : transact sql
What is minus?
What is graph sql?
How does cross join work?
how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba
When you have to use a default "rollback to" savepoint of plvlog?
What is normalization? How many normalization forms are there?
What is your daily office routine?
Mention what are different methods to trace the pl/sql code?
What are sql constraints?
What are the three forms of normalization?
explain about mysql and its features. : Sql dba
What are the different type of joins in sql?
Mention what is the plv (pl/vision) package offers?