觸發器的實踐案例

先爲user表創建一個觸發器 begin      insert into user_sum(username,password) select user.username,user.password from user order by id desc  limit 1 ; end INSERT INTO user(username,password) VALUE('hahahahhahahah
相關文章
相關標籤/搜索