how to find nth highest salary
Answer Posted / anuj somvanshi
select salary from emp where rownum=n order by salary desc;
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Disadvantages of the indexes?
How to provide default values to stored procedure parameters?
What is #temp and @table variable in SQL server?
In which sql server version report builder introduced?
What is an active database?
How many types of built in functions are there in sql server 2012?
Why truncate is ddl command?
Tell me what is the stuff and how does it differ from the replace function?
How to read data in a table with "select" statements?
Which sql server is best?
there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration
Explain syntax for viewing trigger?
Do you know what are the ways available in sql server to execute sql statements?
What are trace files?
What is the sql server agent?