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


Please Help Members By Posting Answers For Below Questions

How you improve the performance of sql*loader? : aql loader

575


What does joining a thread mean?

543


what are the different type of sql's statements ? : Sql dba

520


What is sql*loader and what is it used for? : aql loader

618


what are the different functions in sorting an array? : Sql dba

579






What is a composite primary key?

581


How show all rows in sql?

608


What is sql and its types?

625


What is pl sql block structure?

539


What is #table in sql?

519


what is online transaction processing (oltp)? : Sql dba

523


What is the use of index in hive?

548


Explain about various levels of constraint.

519


Is there any restriction on the use of union in embedded sql?

669


What are the types of join in sql?

518