how to find the second highest salary from emp table?
Answer Posted / lakshmi
select * from (select *,rowcount()over (orderby emp desc)as
rank from emp)b where rank=2
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is mdb stand for?
What is the difference between clustered and non-clustered index in sql?
What is recursive join in sql?
What is bitemporal narrowing?
What is the function that is used to transfer a pl/sql table log to a database table?
What is $$ in sql?
Are stored procedures faster than dynamic sql?
What is microsoft t sql?
How to return multiple rows from the stored procedure?
What's the procedure?
What is rowtype?
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
What is the difference between execution of triggers and stored procedures?
What is application trigger?
What is a behavioral trigger?