how to find nth highest salary
Answer Posted / udathayadav
select * from tablename.aliasname where nth=select
count(sal) from tablename where aliasname.sal<=sal
Is This Answer Correct ? | 38 Yes | 26 No |
Post New Answer View All Answers
What is an expensive query?
Does a sql server 2005 select statement require a from?
How to name query output columns in ms sql server?
List the advantages of using stored procedures?
Define outer join?
Can we take the full database backup in log shipping?
Tell me what is the stuff and how does it differ from the replace function?
why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it? : Sql server administration
What are the types of database recovery models?
What is difference between order by and group by?
what is the sql equivaent of the dataset relation object ?
What does set rowcount do?
What are statistics?
explain the difference between oracle- sql and sql server sql ? if both are same y we r using 2 sw.s?
what exactly sql injuction.how to overcome.....