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 calcuate the second highest salary of he employee

Answer Posted / udhayakumar

select salary from (select salary from emp order by salary
desc) where rownum=2;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the features and advantages of object-oriented programming? : Sql dba

1081


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

2554


What plvcmt and plvrb does in pl/sql?

1370


What is sql performance tuning?

984


What is rownum in sql?

1095


What does 0 mean in sql?

1028


How to know the last executed procedure?

1162


What is raid? How does it help storage of databases?

1148


what are all different types of collation sensitivity? : Sql dba

1034


What is the use of triggers?

1091


Can we create foreign key without primary key?

1045


When is the explicit cursor used ?

1095


How do I save a stored procedure?

1079


How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?

1153


What is the mutating table and constraining table?

1086