how to find nth highest salary

Answer Posted / raman sharma

For third highest salary u can use this syntax

select min(cin) from ( select distinct cin from
cws.usertable order by cin desc ) where rownum<4

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by replication in sql server? Mention the different types of replication in sql server.

599


Why I am getting this error when dropping a database in ms sql server?

679


What are the different sql server versions?

594


What is difference between global temporary tables and local temporary tables?

768


How do I delete a sql server database?

634






Write the SQL query to drop, truncate and delete table.

647


Define union, union all, minus, intersect?

648


Do you know what is user defined datatypes and when you should go for them?

587


What are the types of ssrs?

115


what is a traditional network library for sql servers? : Sql server database administration

549


What is the ‘fillfactor’?

640


What method is used by the Command classes to execute SQL statements that return single values?

676


What is read uncmmited?

678


How do I determine how many instances of sql server are installed on a computer?

619


What is the difference between a check constraint and a rule?

694