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 do we need to check in database testing?
What is pl sql block in dbms?
what is transaction? : Sql dba
How do I partition in sql?
What is rollback?
Can we use views in stored procedure?
Is sqlite good enough for production?
How do I run pl sql in sql developer?
What are sql triggers used for?
Why use subqueries instead of joins?
what tools available for managing mysql server? : Sql dba
What is synonyms?
What is the use of sqlerrd 3?
how to show all tables with 'mysql'? : Sql dba
What types of commands can be executed in sql*plus?