find out the second highest salary?
Answer Posted / aravind
select * from empdetails where sal=(select max(sal) from
empdetails where sal<(select max(sal)from empdetails));
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?
What are ddl statements in oracle?
What is a sub query? What are its various types?
What is a trigger oracle?
How to write an inner join with the where clause in oracle?
What is java oracle used for?
what is insert all statement in sql
How to shutdown your 10g xe server?
What is the usage of control file in oracle?
What is SQL Tuning Advisor in Oracle?
What is the purpose of tables, private synonyms and public synonyms in Oracle?
What is pragma autonomous transaction in oracle?
How to use values from other tables in update statements using oracle?
What is coalesce function?
What is bulk collect in oracle?