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 the clause we need to add in function body to return variable?
Is it possible to pass parameters to triggers?
what is meant by urlencode and urldocode? : Sql dba
How do you create an update query?
Is it possible to update views?
how to calculate the difference between two dates? : Sql dba
How is debugging done?
Can we group by two columns in sql?
What is an exception in PL/SQL? What are the two types of exceptions?
What is difference between stored procedure and trigger?
Explain the the delete statements in sql?
How does sql store data?
How do I run a sql trace?
What is dense_rank in sql?
What is count * in sql?