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 a table t1 a math 20
b phy 30
cchemisty 10
a math 40
b phy 23
c che 21
a math15
bphy 33
c che 56
write a quire to find out the max markr of each subject

Answer Posted / kotesh

select subname,max(marks) from t1 groupby subname

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between join and natural join?

885


how many triggers are allowed in mysql table? : Sql dba

997


What is a sql driver?

943


what is online transaction processing (oltp)? : Sql dba

938


What is flag in sql?

989


Define join and name different types of joins?

962


How delete all records from table in sql?

930


What is pl sql in oracle?

992


What is prepared statement in sql?

1000


What is the difference between numeric and autonumber?

942


What are the 3 types of behavioral triggers?

1188


What is difference between joins and union?

1050


What do you mean by rowid?

917


What is the use of non clustered index?

930


How do I create a sql database?

951