find out the second highest salary?

Answer Posted / karthikeyan

select max(sal) from emp
where sal <(select max (sal)from emp);

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?

602


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

1465


What is raw datatype in oracle?

573


What happens if the update subquery returns multiple rows?

596


How do you tell what your machine name is and what is its IP address?

1506






What are the major difference between truncate and delete?

510


How to define an explicit cursor in oracle?

593


How do I call oracle stored procedures that take no parameters?

558


does the query needs a hint to access a materialized view?

1456


What is instant client oracle?

533


How can I convert single byte kana characters into multi byte kana characters and vice-versa.

1925


How many anonymous blocks can be defined?

575


How to use "for" statements in oracle?

585


How much memory your 10g xe server is using?

576


how to clone 9i Database on to 10g Database.

1820