Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find the second highest salary from emp table?

Answer Posted / jhansi

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are few of the schema objects that are created using PL/SQL?

1083


Can you select everything, but 1 or 2 fields, without writer's cramp?

1040


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

1094


What is synchronized subquery?

1222


The select into statement is most often used to create backup copies of tables or for archiving records?

1120


Who developed sql?

1101


What is difference between procedure and trigger?

1022


what is the difference between clustered and non clustered index in sql? : Sql dba

1192


Can we use threading in pl/sql?

1100


What is a Mapplet?

1200


Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?

1126


What is difference between primary and secondary key?

1075


Is not equal in sql?

1064


What is meaning of <> in sql?

1131


What is difference between inner join and self join?

1137