Home > other >  Look at my brothers can help how to change
Look at my brothers can help how to change

Time:09-22

Create the trigger sc_t
After the update of grade on score
Referencing
Oldrow as oldtuple,
Newrow as newtuple
For each row
When (newtuple grade & gt;=1.1 * oldtuple. Grade)
Insert into sc_u (sno, cno, oldgrade newgrade)
Values (oldtuple sno, oldtuple cno, oldtuple. Grade, newtuple. Grade)
1064 - You have an error in your SQL syntax; Check the manual that corresponds to your MySQL server version for the right syntax to use near 'of grade on score
Referencing
Oldrow as oldtuple,
Newrow as newtuple
'the at line 2
Time: 0.011 s

CodePudding user response:

I have already solved
  • Related