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
What are the types of queries in sql?
what happens if null values are involved in expressions? : Sql dba
how to create a table index in mysql? : Sql dba
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
What does fetching a cursor do?
What are the types of keys?
How many types of triggers exist in pl/sql?
How is data stored on a disk?
explain advantages of innodb over myisam. : Sql dba
Why is normalization important?
What are the ddl commands?
Does truncate free space?
Describe sql comments?
What is a string data type in sql?
how would you get the current date in mysql? : Sql dba