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 to define and use table alias names in oracle?
What is using clause and give example?
How to pass parameters to procedures in oracle?
How to write an inner join with the where clause in oracle?
what are the advantages of running a database in archive log mode?
How to create a table interactively?
What are the different types of record groups in oracle? Explain each of them
Why cursor variables are easier to use than cursors?
Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).
What is object data modeling?
What is hot backup and logical backup?
How will you identify oracle database software release?
How to convert a string to a date in oracle database?
How to add another datafile to a tablespace?
What are the differences between blob and clob in oracle?