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
How do I count duplicates in sql?
what is the bond code in materialized view?
What do you mean by stored procedures? How do we use it?
what are the types of join and explain each? : Sql dba
What is the difference between the implicit and explicit cursors?
What is sql comments?
which operator is used in query for pattern matching? : Sql dba
What if we write return in procedure?
What does the argument [or replace] do?
What is package in pl sql with an examples?
How do you use collections in procedure to return the resultset?
What is consistency?
What are different types of sql?
How do you declare a constant?
Does a user_objects view have an entry for a trigger?