时间:2021-07-01 10:21:17 帮助过:2人阅读
create trigger ce after update on t_student for each row
BEGIN
	  select stu_id,stu_name,NOW()  into @v,@v2,@time from t_student where stu_id=old.stu_id;
   insert into t_student_time(stu_id,times)values(@v,@time);
end;
mysql 时间
标签: