write the query for find the top 2 highest salary in sql
server
Answer Posted / priyanka
select salary from emp where rowno=3 order by sal desc.
but this query works only when you have to create index.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to delete multiple rows with one delete statement in ms sql server?
What are the different acid properties?
Explain nested stored procedure. Syntax and an example for create nested stored procedure?
Explain the stored procedure?
What is indexed view? How to create it?
How many columns can we include on clustered index ?
What is federation member?
Do you know what is difference between index seek vs. Index scan?
Explain filtered indexes benefits?
Can you type more than one query in the query editor screen at the same time?
how to restart sql server in single user mode? How to start sql server in minimal configuration mode? : Sql server database administration
How can you know if the row fetched from cursor is still valid in underlying table?
Why use view instead of a table?
How to assign new column names in a view?
Can you move the resources after pausing the node? : sql server database administration