how to calculate the average of columns row wiise?
534835Feb 8 2008 — edited Feb 9 2008i have the database containing columns related to internal marks and final marks..
here I1,I2 stands for internal marks and E stands for external marks for the subject..
Now tell me is there any way of calculating the average of internal marks per subject per student and retrieivng external marks (E) in a single query.. i.e. (i1+I2+I3+I4)/4 and E
I1 I2 I3 I4 E sub rollno
---- ---------- ---------- ---------- -------------- ------- -------
19 8 17 15 75 eng 100
0 45 3 5 60 math 100
0 0 5 10 40 phy 100