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
What is the advantage of nosql?
How many types of relationship are there?
How many sql are there?
What is db journal file?
What is record type in pl sql?
How is a process of pl/sql compiled?
Explain mutating table error.
What is schema in sql?
what is online transaction processing (oltp)? : Sql dba
What is sql constant?
What are types of exception?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
What is a temporal table?
What schema means?
What is blind sql injection?