a query to select maxmun 3 salaries of employee table
Answer Posted / dhanya
select rnk, no,sal from (
SELECT DENSE_rank()over(partition by no order by sal desc ) RNK,d2.no,sal FROM DUMMY2 d2)
where rnk =2;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to apply filtering criteria at group level in oracle?
How to write a query with a right outer join in oracle?
Her departmandaki isçilerden empno' su ikinci sirada olan isçilerin empno, deptno, hiredate, sira_no bigilerini döndüren sorguyu yaziniz?
What is the difference between hot backup and cold backup in oracle?
What is the difference between truncate & delete command?
Is truncate autocommit in oracle?
What is the relationship among database, tablespace and data file?
What is the usage of synonyms?
What are dml statements in oracle?
How to create a new table in oracle?
How do I spool to a csv formatted file using sqlplus?
What is the difference between formal parameters and actual parameters?
Write a syntax for update query in oracle?
Does oracle database need java?
What is clustered table in Oracle?