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 / sumit
select subject,max(marks) from t1 group by subject;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you delete a table?
What is trigger types of trigger?
what is csv? : Sql dba
What is the difference between partition and index?
can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba
What are the indexing methods?
what is top in tsql? : Transact sql
Does postgresql run on the cloud?
what is the difference between join and union? : Sql dba
Are stored procedures compiled?
What is data abstraction in sql?
Is there a way to automate sql execution from the command-line, batch job or shell script?
What are analytic functions in sql?
Can we enter data in a table in design view?
explain primary keys and auto increment fields in mysql : sql dba