how to find the second highest salary from emp table?
Answer Posted / vijay shegokar
select * from employee where salary=(select max(salary) from
employee where salary not in (select max(salary) from
employee));
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are sql built in functions?
What are % type and % rowtype?
How to select all records from the table?
What is rownum in sql?
What is a temp table?
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
How would you convert date into julian date format?
What is procedure function?
What is a field in a database?
How do I clear the screen in sql plus?
What is cost in sql execution plan?
Mention what is the plv (pl/vision) package offers?
what is bcp? When is it used?
What does cursor do in sql?
How can I delete duplicate rows?