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

 

select MIN(t.fint)
FROM (select fint+1 fint from aaa) t
WHERE t.fint not in(select fint from aaa)
posted @ 2008-04-25 15:01  火军刀  阅读(365)  评论(0编辑  收藏  举报