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 14651Post New Deloitte SQL PLSQL Interview Questions
Explain important directories used in a common laravel application.
Where are windows update files stored?
Motor,transformers,capacitor tubelight etc....
Explain me what is sql injection?
How to create static methods in Kotlin?
Short Answer on __________written Down value
What are the different types of operators in QlikView?
What are the uses of memristor?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
Difference between abstract and concrete class ?
Can you do matrix operation in tensorflow ?
Explain the architecture of Django?
Can inverted beams used in pipes during construction? If yes, explain how it can be implemented?
Explain the use of grant option in imp command.
What is a external id in salesforce and give me example?