How to find 6th highest salary from Employee table ?
Answer Posted / lince
select * from(select salary,dense_rank() over(order by salary desc) as rno from emp)T where T.rno=6
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the maximum number of instances in 32 bit and 64 bit sql server 2012?
Is there any difference between the primary key and unique key?
Explain primary key?
Explain how does the report manager work in ssrs?
how many type of indexing in database?
How many types of stored procedures are there in sql server?
List the ways in which dynamic sql can be executed?
What is a rollup clause?
Explain having clause?
how can you attach more than 20 ldf files in sql server
What do you mean by an execution plan? Why is it used?
What do you mean by acid?
how do you determine the Load performance of any query in sql server {example how do u determine performance of a select stmnt which returns Dynamically many no of records ... some times 100,1000,10000 etc., }
How to count duplicated values in a column in ms sql server?
Explain the use of containers in ssis and also their types?