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
What is meant by dirty read?
Tell me what is use of except clause? How it differs from not in clause?
Explain Reporting Life Cycle?
Can a table be moved to different filegroup?
What is usually the first word in a sql query?
Explain primary key?
What is an expression in ms sql server?
Can we insert data if clustered index is disabled?
What are the disadvantages of using querystrings to send data from one page to another?
Explain for xml explicit mode?
Define compound operators?
how you can list all the tables in a database?
How to select true false based on column value in sql server?
What are the different types of stored procedures?
Why use view instead of a table?