Monday, June 30, 2014

PERCENT MARKS CALCULATE IN MYSQL

PERCENT MARKS CALCULATE IN MYSQL

select avg(marks)
from exam-class-section-subject-student
where student_ID = @yourInput


select student_ID, avg(marks) 
from exam-class-section-subject-student 
group by student_ID

No comments:

Post a Comment