how to find the second highest salary from emp table?
Answer Posted / yash goyal
Select slary from
(select salary from empolyees
order by salary desc
where rownum<=&no.)
order by salary Asc
where rownum=1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a nested table in word?
What is spool?
Why do we use cursors?
What types of commands can be executed in sql*plus?
What is clustered index in sql?
Does truncate remove indexes?
What is the need of a partition key?
how is exception handling handled in mysql? : Sql dba
What is use of package in pl sql?
Are views faster than queries?
What is normalization? How many normalization forms are there?
What is db journal file?
Explain the types of joins in sql?
what are the nonstandard string types? : Sql dba
what is commit? : Sql dba