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 / kart
select sname,max(mark) from xtable group by sname;
che 56
mat 40
phy 33
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Which one is faster ienumerable or iqueryable?
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
Explain spool.
what is 'mysqldump'? : Sql dba
How many types of indexes are there in sql?
How do you run a query?
What are the two characteristics of a primary key?
What is program debugging?
How do I turn a list into a table?
How do I count rows in sql query?
How do you determine the current isolation level? : Transact sql
What are the possible values that can be stored in a boolean data field?
How to display the records between two range in Oracle SQL Plus?
what is myisam? : Sql dba
Explain the difference between triggers and constraints?