select case a when 0 then 1 else (select max(uuid) from t_user)+1 end as b from (select count(uuid) as a from t_user) 转载于:https://www.cnblogs.com/BrightMoon/p/3581010.html 来源:https://blog.csdn.net/weixin_30546189/article/details/99149358 标签 大数据 数据库 select uuid