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 14865Post New Deloitte SQL PLSQL Interview Questions
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
Hi friends any body having the exp of protocols testing please provide contact details? venga.boy280@gmail.com
What is the meaning of ng in angular 2?
if your dbspace is full then what you will do?
No of ways of doing deployments?
How many databases Microsoft SQL server provides?
What is virtual host in websphere application server?
What is more important to you: the money or the work at Laura Ashley?
Please explain couchdb vs mongodb?
Can you give names of Container classes?
What are virtual business comp. Refered to in Siebel?
Explain the difference between laravel and codeigniter?
What is the purpose of a de-superheater?
What is mongoose odm?
Explain some reserved queue names of ibm websphere mq.