leejd · 2007-01-31 09:37:35 · 阅读: 375 select iif(max(goods_id) is null,1,max(goods_id)) from goods_info <空>