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 / radha sri seshu.kolla

select max(sal) from emp where level=2 connect by prior
sal>sal group by level;

Is This Answer Correct ?    17 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pl/sql cursors?

1049


How do you run a query?

989


What does closing a cursor do?

1313


Where can I learn sql for free?

982


how can we know the count/number of elements of an array? : Sql dba

1060


What is trigger in flip flop?

1007


Show the cursor attributes of pl/sql.

1046


How do you drop a trigger?

985


Can we call stored procedure in function?

957


how can you see all indexes defined for a table? : Sql dba

992


When is the explicit cursor used ?

1031


What does trigger mean in psychology?

960


How do I tune a sql query?

973


Why do we need cursors in pl sql?

1076


What is difference between hql and native sql?

1166