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
What is a sql select statement?
what is datawarehouse? : Sql dba
Is full outer join same as cross join?
How can check sql version from command line?
Are stored procedures faster than dynamic sql?
how to convert dates to character strings? : Sql dba
What are different joins used in sql?
What are aggregate functions in sql?
what is auto increment? : Sql dba
what is the difference between nested subquery and correlated subquery?
What is your daily office routine?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is db journal file?
Is natural join same as inner join?
how to use in conditions? : Sql dba