Question: Practice Problem Consider the following student database result sheet, in which student marks assessment is recorded. On that table create a trigger for insert event.

Practice Problem Consider the following student database result sheet, in which student marks assessment is recorded. On that table create a trigger for insert event. The trigger will perform following actions: Whenever the student quiz, assignment and OHTS marks are entered in the student table the trigger will first compute the sessional marks automatically based on quiz, assignment and OHTS marks and insert these sessional marks into the table for that particular student. Database Result-Sheet(student-id, Name, Quiz, Assignment, OHT- 1, OHT-2, Sessionals) The triggering event is as follows: Insert into Database-Result-Sheet values (1, 'Ali', 7, 9, 13, 11, null)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
