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

Give the order of sql select?

1185


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

1172


what are the advantages of using stored procedures? : Sql dba

1153


What are different types of queries in sql?

1172


What are the key differences between SQL and PL SQL?

1284


How to read/write files from pl/sql?

1083


how is myisam table stored? : Sql dba

1097


How to get unique records from a table?

1021


What is a parameter query?

1141


what is the difference between char_length and length? : Sql dba

1109


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

1051


How to make a copy values from one column to another in sql?

1080


Are stored procedures compiled?

980


Show the two pl/sql cursor exceptions.

1260


How do you run a query?

1049