MySQL - Trigger for updating same table after insert

前端 未结 6 1725
长情又很酷
长情又很酷 2020-11-22 15:39

Here\'s what I\'m trying to do:

When there\'s a new INSERT into the table ACCOUNTS, I need to update the row in ACCOUNTS where

6条回答
  •  日久生厌
    2020-11-22 16:15

    Instead you can use before insert and get max pkid for the particular table and then update the maximium pkid table record.

提交回复
热议问题