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)
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