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 / hema

Select sal from emp a where 2=(select count(distinct sal)
from emp b where a.sal <= b.sal)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by a tablespace?

980


How do I call oracle stored procedures that take no parameters?

1025


What is set verify off in oracle?

1034


What are the differences between blob and clob in oracle?

1032


hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.

2320


Can group functions be mixed with non-group selection fields?

963


How to get a create statement for an existing table?

908


What is the string concatenation operator in oracle?

1093


15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.

2247


What are the uses of a database trigger?

931


There are n numbers of flatfile of exactly same format are placed in a folder.Can we load these flatfile's data one by one to a single relational table by a single session??

1981


Which dictionary tables and/or views would you look at to diagnose a locking issue?

1851


How to use existing values in update statements using oracle?

1012


How do you bind variables in oracle?

931


Explain the use of constraints option in exp command.

992