Am trying to get values from table tscore into table tgrade
This is not working pls correct me where am wrong its urgent pls!
Code:
CREATE TRIGGER qscore ON tscore FOR INSERT AS DECLARE @matno char(13) DECLARE @score int DECLARE @type char(30) IF percent = 100 BEGIN UPDATE tgrade SET quiz = SUM (score) AS "quizscore" FROM tscore WHERE type = quiz AND mat_no= @matno END
Comment