assuming two table
1.student(roll_no, class, credits)
2.class(class, total_student, Total_credits)
how to create trigger using cursor on student table which will update class with Total no of Student's and their total credits ? on each insertion or deletion