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 are numeric data types? : Sql dba

1111


how many tables will create when we create table, what are they? : Sql dba

1118


What are inner and outer joins examples of both?

1009


Does truncate release storage space?

1136


Define union, minus, union all, intersect ?

1064


What is synchronized subquery?

1220


What is a pdo connection?

1115


what is top in tsql? : Transact sql

1171


What is the purpose of the sql select top clause?

1206


How to return an array from java to pl/sql?

1181


how can I make a script that can be bi-language (supports english, german)? : Sql dba

1067


What does pl sql stand for?

1156


What are all the different types of indexes?

1196


What are the different types of dbmss?

1055


What is sql deadlock?

1216