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 15071Post New Deloitte SQL PLSQL Interview Questions
How to write LINQ query for Inner Join with OR condition?
Explain reuse mode in product heuristic
mention some of the features available in web-sphere?
what is the scope of php in the future if any other language is developed then may be php is loss ???
What is a Kernel?
What is meant by dependency injection?
Explain what are the unix system calls for i/o?
What is the standby server?
Specify cics transaction initiation process?
What all details the assembly manifest will contain?
What is the difference between the repeatable read and serializable isolation levels? : Transact sql
how to calculate the rebar depth if forgot the foundation reinforcement (main steel)? is that any calculation or formula we have data sheet of supplier what depth what is the pull out capacity is mensioned in data sheet. if any IS code than its help full to me.
what are the components of an sap enterprise portal?
List the features of android?
If you came across your colleagues engaging in idle gossip, what would be your reaction?