Find out the 3rd highest salary?
Answer Posted / shibin k abraham
select * from emp where sal=(select a.sal from emp awhere 3=(select distinct(count(b.sal)) from emp b where a.sal<=b.sal))
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the 3 types of behavioral triggers?
Write a sql select query that only returns each name only once from a table?
What is query optimization in sql?
Is sqlite free?
what is uncommittable transactions? : Transact sql
What are inner and outer joins examples of both?
What plvcmt and plvrb does in pl/sql?
how are mysql timestamps seen to a user? : Sql dba
Are subqueries faster than joins?
What action do you have to perform before retrieving data from the next result set of a stored procedure ?
Explain autonomous transaction.
Why are aggregate functions called so?
What are the different dcl commands in sql?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
When is the explicit cursor used ?