How do I truncate a word?
Is ms sql is free?
Is sql a microsoft product?
What is a record in pl/sql?
How many types of triggers are there in pl sql?
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 string data type in sql?
What is the advantage of index in sql?
What is meant by temporal data?
What is difference between table and view?
How do you optimize a stored procedure in sql?
What is set serveroutput on?
What is a table partition?