Find out the 3rd highest salary?
Answer Posted / karna
Hi Friends,
to get the nth highest value of a column in a table,please
use the below simple query
select min(column) from table where column in(select top n
column from table)
any queries,mail me at karun84@gmail.com
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What are triggers and its uses?
How to write a query to show the details of a student from students table whose
how can we take a backup of a mysql table and how can we restore it. ? : Sql dba
Do we need to rebuild index after truncate?
What is scalar data type in pl sql?
Can dml statements be used in pl/sql?
What is clustered and nonclustered index in sql?
Show the cursor attributes of pl/sql.
Can triggers stop a dml statement from executing on a table?
How does sql profiler work?
How do we accept inputs from user during runtime?
What is normalisation in sql?
What is sql server and ase?
Is nosql faster than sql?
What is the difference between partitioning and sharding?