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

I have one table :EID,Depid,ename,sal
I want to have max(sal) in each department.

Answer Posted / vengalrao

Dear Friends,

Depends upon table u can pick one max value is possible,one
table u cannot pick max value of all columans , then u can
refer one any ne column

select depid,max(sal) from <table name> group by depid;

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

3200


What are the different types of modules in oracle forms?

1001


How do I uninstall oracle client from windows?

1010


How to use subqueries in the from clause in oracle?

1113


How a database is related to tablespaces?

1032


What is the difference between truncate & delete command?

1182


Explain oracle’s system global area (sga).

1139


Explain about integrity constraint?

1124


Compare and contrast between sql and sql server and explain its various functions?

964


How to use "startup" command to start default instance?

1035


How do I spool in oracle?

1004


What are transaction isolation levels supported by oracle?

1072


How to bring a tablespace offline?

1065


Explain how you would restore a database using RMAN to Point in Time?

2146


Can I create users through internet explorer in oracle 10g?

1084