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 / giri babu
select sname,max(smarks)
from t1
group by sname
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is union and union all keyword in sql?
Is natural join same as inner join?
What is the purpose of the primary key?
Why stored procedure is faster than query?
What programs use sql?
What is oracle sql developer?
What is self-join and what is the requirement of self-join?
What is error ora-01000: maximum open cursors exceeded
What is the function that is used to transfer a pl/sql table log to a database table?
What is a schema? How is it useful in sql servers?
how to calculate expressions with sql statements? : Sql dba
What is pl sql architecture?
What is dml with example?
How many types of relationship are there?
When do we use triggers?