mysql变量使用

select @cnt_before := count(1) as cnt from api_log ;

select @cnt_before as 'cnt_刷新前',count(1) as 'cnt_刷新后' from api_log limit 10;

posted @ 2025-07-16 09:25  chenzechao  阅读(6)  评论(0)    收藏  举报