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 / abhijeet banarse

Select level,Max(sal) from emp1
Where level=&level connect by prior sal>sal
group by level;
Enter the level No=2 (Here enter 2 manually)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the primary use of normalization?

1011


How to sort the rows in sql.

1080


How many types of relationship are there?

1031


How many types of functions are there in sql?

955


How delete all data from table in sql?

1021


Can we use view in stored procedure?

904


What are the different operators available in sql?

1007


What is a natural join sql?

992


What is partition by in sql?

1074


How much does a sql dba make? : SQL DBA

949


how to create a new table in mysql? : Sql dba

991


What do you mean by query optimization?

1007


How do I view a sql trace file?

1035


explain the difference between delete , truncate and drop commands? : Sql dba

1098


How to process query result in pl/sql?

1136