how to find the second highest salary from emp table?
Answer Posted / chiru
select distinct sal from emp e where 2=(select
count(distinct sal) from emp where e1.sal>e.sal) order by
sal desc;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you understand by case manipulation functions?
What pl/sql package consists of?
Does inner join remove duplicates?
What are the benefits of triggers?
What can you do with pl sql?
What is minus?
Which is faster count (*) or count 1?
Where is sql database stored?
list out some tools through which we can draw e-r diagrams for mysql. : Sql dba
explain the delete statements in sql
What is sql resultset?
what is meant by urlencode and urldocode? : Sql dba
Is a view faster than a stored procedure?
what is normalization? : Sql dba
Advantages and disadvantages of stored procedure?