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
How does postgresql compare to "nosql"?
What is a sql instance vs database?
What are the 3 modes of parameter?
what is the difference between group by and order by in sql? : Sql dba
Which join condition can be specified using on clause?
How do you pronounce sql?
Lookups are a key component in sql server integration services (ssis). Explain its purpose?
what is a composite primary key ? : Sql dba
Is and as keyword in pl sql?
what are the advantages of using stored procedures? : Sql dba
What is the difference between inner join and outer join?
Explain architecture of sql server notification services?
What is spool?
What is the use of function in sql?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?