Which is faster subquery or join?
what is the syntax used for partition in tsql? : Transact sql
What are pl/sql cursors?
what is mean by forward declaration and where we'll use it.
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 Answers Deloitte, Ness Technologies,
What is a table partition?
What is composite primary key in sql?
What is user define exception and example
Can you upgrade sql express to full sql?
What is rename in sql?
What are the most important ddl statements in sql?
Can we use two order by clause in query?
How many types of keys are there in sql?