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 sname,max(marks) from student group by sname;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to pronounce postgresql?
how to drop an existing view in mysql? : Sql dba
what are rollup and cube in t-sql? : Transact sql
Explain the purpose of %type and %rowtype data types with the example?
what is a trigger in mysql? : Sql dba
what is text? : Sql dba
What is the purpose of design view?
How does stored procedure reduce network traffic?
What makes a good primary key?
What are the different types of sql commands?
Can we write ddl statements in functions?
What is the difference between subquery and correlated query?
Does sql*plus have a pl/sql engine?
What is trigger with example?
How do you change a value in sql?