Hi.....
I've a table that contains the students marks.
The fields in the table are:
Sno,m1,m2,m3,m4 ,m5,total,avg,g rade.
im having ten records in the table in which, i've to update the grade column such that:
if the avg if above 80, the grade should be 'first' and 'second' if not.
I've to accomplish this in a single query(nested).
I dont know how to implement this.
Please some body help me in my problem????!!!! !!!!!!!!!!!!
I've a table that contains the students marks.
The fields in the table are:
Sno,m1,m2,m3,m4 ,m5,total,avg,g rade.
im having ten records in the table in which, i've to update the grade column such that:
if the avg if above 80, the grade should be 'first' and 'second' if not.
I've to accomplish this in a single query(nested).
I dont know how to implement this.
Please some body help me in my problem????!!!! !!!!!!!!!!!!
Comment