Answer Posted / shailesh j
SELECT * FROM (
SELECT DEPARTMENT_ID,SALARY,DENSE_RANK() OVER(PARTITION BY
DEPARTMENT_ID ORDER BY SALARY DESC) AS RK FROM EMPLOYEES)
WHERE RK<4;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain autonomous transaction.
Can we change the table name in sql?
What is dense_rank in sql?
What are procedures used for?
What is the use of sql trace?
How do you create a db file?
How do you write a complex sql query?
What is the difference between left outer join and left join?
What is pl sql script?
how to load data files into tables with 'mysqlimport'? : Sql dba
Which are the different case manipulation functions in sql?
Is grant a ddl statement?
What does the file extension accdb stand for?
explain mysql aggregate functions. : Sql dba
Explain what is sql*plus?