Write query to fetch second maximum salary from employee table.
Answer Posted / santosh kumar
select * from(select rownum r,ename,sal from(select * from emp order by sal desc))where r=2;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an oracle recycle bin?
How can I create database in oracle?
What is key preserved table?
What are the various types of snapshots ?
What are the oracle differences between nvl and coalesce
What is a synonym? What are its various types?
Where do you use decode and case statements?
How a database is related to tablespaces?
How do I find the database name in oracle?
How to create a new user account in oracle?
How to use in conditions in oracle?
Explain the use of rows option in imp command.
what is the use of triggers in Java program? I mean where do we use triggers in Java programming?
How do I recompile a procedure in oracle?
How to rename a column in an existing table?