Differences between UNIQUE and DISTINCT in select statements26 118182
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, Nitin5 10550
How do I sort two columns in excel to match?
What are the different types of protocols?
what does the automatic recovery do? : Sql server administration
what is hvac?
What is glossary of software qa/testing?
Will I need to have an account with a wi-fi service provider?
what is the use of defining cloud architecture?
What exactly does one comprehend the security of a block?
How to see the inductance in a transmission lines
Does wordpress run on php 7?
If a person drawing RS.29000/- as net salary per month... Can any one please provide is his gross salary and total other cuttings...
This perceived force, that seems to want to throw a person off a merry-go-round, is often regarded by physicists as a fictitious force:
How to check the already installed dependencies which are globally installed using npm?
What are the different types of modules in oracle forms?
What is format function?