find out the third highest salary?

Answer Posted / kss

Hi every one,

i know that we can get that thr above quer..

one can try using analytic function giving ranks to the
salary column

select sal,dense_rank() over(order by sal desc) rank from
emp

Is This Answer Correct ?    18 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write an inner join with the where clause in oracle?

583


In oracle there is column command, how will you explain that?

550


What is the relation of a user account and a schema in oracle?

590


What is blob data type in oracle?

559


Why does for update in oracle 8 cause an ora-01002 error?

543






What is Library Cache in Oracle?

641


How to use windows user to connect to the server?

530


How to load excel data sheet to oracle database

586


How view is different from a table?

555


how to handle exceptions in post production

948


What is hash cluster in oracle?

595


If youre unsure in which script a sys or system-owned object is created, but you know its in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?

1659


What are the ways tablespaces can be managed and how do they differ?

1616


What are a query and state the different types of queries and their uses?

510


ur a sql devoloper...what is the process in ur company for finding the database BUGS .. seperate DB testers are there? or devr.s are manage? if DB TESTERS in there what is the process

1743