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 / naresh
select subid,max(math),max(phy),max(che) from tablet1
group by subid
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How can check sql version from command line?
What is the use of count (*) in sql?
How to assign sql query results to pl sql variables?
How do I tune a sql query?
What is record in pl sql?
What is cursor in pl sql?
Write a query to find the names of users that begin with "um" in sql?
How can we optimize a sql query?
Does varchar need length?
how to decrement dates by 1 in mysql? : Sql dba
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba
What is the use of primary key?
How do I run pl sql in sql developer?
Do foreign keys improve performance?
What is crud stand for?