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
What is a cursor and what are the steps need to be taken?
What is where clause in oracle?
How do I manually uninstall oracle client?
What are the uses of a database trigger?
How to use select statement to count the number of rows in oracle?
How to loop through data rows in the implicit cursor?
How to drop an index?
What is system tablespace?
What are the benefits of ordbms?
How translate command is different from replace?
What happens to the current transaction if a ddl statement is executed?
Give syntax for SQL and ORACLE joins.
How to drop a stored procedure in oracle?
How can I convert single byte kana characters into multi byte kana characters and vice-versa.
Explain an index segment?