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
What is the difference between alter trigger and drop trigger statements?
Difference between truncate, delete and drop commands?
What is Collation Sensitivity ? What are the various type ?
What are the three forms of normalization?
Can unique keys be null?
what is the difference between $message and $$message? : Sql dba
Why do we need databases?
what are different types of collation sensitivity? : Sql dba
What is count * in sql?
What is a sql select statement?
Can a trigger call a stored procedure?
What is compiled query?
Can we commit inside a trigger?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
What is the use of stored procedures?