Hi, Can anybody please explain me the flow of the below query. I am not able to understand how this query works. This query is for finding the Nth highest salary.. SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B WHERE a.sal<=b.sal); If N = 2 then second highest salary will be the o/p. If N = 3 then third highest salary will be the o/p. and so on.. Thanks, Nitin
5 14862Post New Deloitte SQL PLSQL Interview Questions
What is a polymorphism in ooabap ?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
What is the use of infogroups?
If the job running very slow what is the action you do
What is the difference between while and do while loop?
what is the interrelation between voltage current torgue speed and magnetic flux in case of different types of electric motors
Can an index become larger than the table to which it belongs?
What is the resistance of the field winding of a d.c. Shunt generator kept low?
Difference between depreciation ,accumulated depreciation and apc?
What is magento integration?
Name the actions to manage windows control command?
What is json validator?
What are Workflow Components available?
How do I delete unnecessary files?
Will going from a 3 tap to a 6 tap increase water pressure?