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

select subject,max(marks) from table_name
group by subject

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 use of non clustered index?

976


What is the mutating table and constraining table?

1010


Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

1151


what is the difference between truncate and drop statements? : Sql dba

1095


How to read xml file in oracle pl sql?

897


How do I save the results of sql query in a file?

963


What is insert command in sql?

1105


What is sql*loader?

1155


How would you reference column values before and after you have inserted and deleted triggers?

1047


What is difference between rank () row_number () and dense_rank () in sql?

1089


What are the subsets of sql?

1101


What does stand for in sql?

951


what are the join types in tsql? : Transact sql

1048


What are the datatypes available in pl/sql ?

1084


Why trigger is used in sql?

950