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...

1.how to extract the second highest salary from emp table
having sal as a column which contains the salary of all
employee of an organisation.

Answer Posted / swapna

select top(1) sal From sample
where sal
in (select top(2) salfrom sample order by saldesc)
order by sal asc

Is This Answer Correct ?    0 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain an exception and its types?

1134


Explain the use of consistent option in exp command.

1139


Please explain oracle data types with examples?

1130


How to create a server parameter file?

1186


How to check the server version in oracle?

1140


Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com

1920


What is blob data type in oracle?

1205


How to create an oracle testing table?

1126


What is an oracle data file?

1157


What are the general rules on data consistency?

1060


Difference between the “verify” and “feedback” command?

1425


What is truncate oracle?

1014


What is meant by joins? List out the types of joins.

1103


What is sequence?

1136


What are the varoius components of physical database structure of oracle database?

1039