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 14867Post New Deloitte SQL PLSQL Interview Questions
Why do we need sparkcontext?
What is cognos powerhouse?
What is the implementation of applicationcontext container?
What is bootstrapping in angular?
Explain what do you know about blackberry 7?
Hi Mr.Anil even i am looking for the same to start up a call center did u come to know the details if u plese let me alo know.my mail id is madhueric11@gmail.com
What is ip spoofing and how can it be prevented?
How do you create surrogate key using ab initio?
Explain the concept of otr(online text repository) and its usage?
What is hot deployment in tomcat?
What is e-commerce tracking in google analytics?
What is Inductive Logic Programming in Machine Learning?
How long does it take you to process one day's worth of patient visits or claims? : insurance health
What is arc ios?
What is hipot test procedure?