取断号中的最小号的SQL语句

 

select MIN(t.fint)
FROM (select fint+1 fint from aaa) t
WHERE t.fint not in(select fint from aaa)
原文地址:https://www.cnblogs.com/Sabre/p/1171112.html