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 / sumit
select subject,max(marks) from t1 group by subject;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is procedure explain with program?
What is the difference between subquery and correlated query?
Why are sql stored procedures used?
How to return multiple rows from the stored procedure?
how to decrement dates by 1 in mysql? : Sql dba
Why schema is used in sql?
how mysql optimizes distinct? : Sql dba
Do ddl statements need commit?
What company owns postgresql?
How to avoid duplicate records in a query?
What types of commands can be executed in sql*plus?
What are the set operators in sql?
How do you optimize a stored procedure query?
What is sql profiling in oracle?
Why do we need cursors in pl sql?