how to check the 3rd max salary from an employee table?
Answer Posted / somanath
select sal from emp a where 3=(select
count(distinct(sal)) from emp b
where a.sal<=b.sal)
| Is This Answer Correct ? | 34 Yes | 7 No |
Post New Answer View All Answers
What is a field in a database?
How do you define a foreign key?
how to check server status with 'mysqladmin'? : Sql dba
What is pivot query?
Can we join more than 2 tables in sql?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews
How will you distinguish a global variable with a local variable in pl/sql?
Explain what is an index?
What is left join example?
What is a temporal table?
What does rownum mean in sql?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
How to return an array from java to pl/sql?