No Answer is Posted For this Question
Be the First to Post Answer
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
What is scalar data type in pl sql?
How do I remove sql plus from windows 10?
cursor types? explain with example programs?
What is denormalization in a database?
what are the authentication modes in sql server? How can it be changed? : Sql dba
Which is better stored procedure or query?
What is difference between stored function and application function?
I need a function for a train ticket reservation please answer it thanks in advance
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
What is meaning of <> in sql?
what is difference b/w pravite procedures and public procedures?