How to find 6th highest salary from Employee table ?
Answer Posted / lince thomas
select salary from(
select row_number() over(order by salary desc) as rno,*
from Employee)T where T.rno=6
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is Extended user-defined?
What is the function of inner join?
Can a trigger be created on a view?
What happens if null values are involved in string operations?
Explain the cursor lock types?
Can group functions be used in the order by clause in ms sql server?
last function used in MS Access to convert sql what function will use in sql
how to create “alternate row colour”?
What are the advantages of having an index on the sql server?
What are the pros and cons of putting a scalar function in a queries select list or in the where clause?
Is sql server free?
Explain datetime2 data type in sal server 2008?
How to check parameter value in stored procedure sql server?
How many types of stored procedures are there in sql server?
What is the Difference Between Primary and Foreign Key?