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
State and explain about oracle instance?
What types of joins are used in writing subqueries?
How do I uninstall oracle client from windows?
6. Display the client name and order date for all orders using the traditional method.
how to join query for one source type is oracle another source type is sql server ?
Can group functions be mixed with non-group selection fields?
What is an oracle tablespace?
Explain a synonym?
How does the on-delete-cascade statement work?
What are the original export and import utilities?
What is the purpose of tables, private synonyms and public synonyms in Oracle?
What do you mean by group by clause?
WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?
What privilege is needed for a user to delete rows from tables in another schema?
How can we find out the current date and time in oracle?