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
Explain cursor types?
What are sql constraints?
How to install oracle sql developer?
Why are sql stored procedures used?
What is query execution plan in sql?
how to get a list of all tables in a database? : Sql dba
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
what are the advantages of mysql in comparison to oracle? : Sql dba
Why is theta join required?
Explain the uses of a database trigger?
Can we call a function containing dml statements in a select query?
Mention what is the plv (pl/vision) package offers?
What does select * from mean in sql?
how many tables will create when we create table, what are they? : Sql dba
How to rename a column in the output of sql query?