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 / naresh
select subid,max(math),max(phy),max(che) from tablet1
group by subid
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between subquery and correlated query?
how to analyze tables with 'mysqlcheck'? : Sql dba
How many commands are in sql?
What is a trigger word?
Which one is better subquery or joins?
what is the use of friend function? : Sql dba
What is dml statement?
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
What is user in sql?
Is oracel sql developer written in java?
What is secondary key?
How do I remove duplicates in two columns?
Whis is not false in primary key?
Define a temp table?
What are types of joins?