select @a:=MAX('字段名') AS '别名' from '表名 ';
select @a ;
Mysql之获取一个表的最大id到一个变量中
猜你喜欢
转载自www.cnblogs.com/lrzb/p/11819842.html
今日推荐
周排行