how to check the 3rd max salary from an employee table?

Answer Posted / dulal

Without Using MAX or MIN keyword


select TOP 1 EmpName, RevisedMinutes
from tblEncounter
where RevisedMinutes IN(select distinct Top 3
RevisedMinutes from tblEncounter order by RevisedMinutes
desc)
order by RevisedMinutes asc

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you skip header records while loading? : aql loader

730


Explain commit, rollback and savepoint.

766


Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com

2259


who introduced sql?

752


What are three advantages to using sql?

732






What is pl sql block in dbms?

708


What are types of indexes in sql?

747


What is a mutating table and a constraining table?

758


How exception is different from error?

762


What does a pl/sql package consist of?

719


what is an alias command? : Sql dba

727


what is the difference between delete and truncate commands? : Sql dba

722


How do you modify a column in sql?

730


Is postgresql a server?

736


Does oracle use sql?

685