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
How do I add a database to sql?
Write a unique difference between a function and a stored procedure.
Why do we need pl sql?
How do you identify a primary key?
What is a database? Explain
What if we write return in procedure?
what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba
Can a foreign key be null?
Does sql full backup truncate logs?
Does db2 use sql?
What are % type and % rowtype?
How do you write a complex sql query?
What can sql server reporting services do?
Explain mutating table error.
What is normalization? How many normalization forms are there?