0
点赞
收藏
分享

微信扫一扫

mysql触发过程

颜娘娘的碎碎念 2022-05-18 阅读 116
begin
declare sum int(0);
select count(*) into sum from bm51 where bzz='0';
if (sum<20)
then
UPDATE bm51 SET bzz='0';
end if;
end





举报

相关推荐

0 条评论