日期:2014-05-18 浏览次数:20526 次
insert b(id) select top 1 a1.id from a a1,a a2 where a1.id<a2.id and a1.sl + a2.sl = 8 order by a2.id insert b(id) select top 1 a2.id from a a1,a a2 where a1.id<a2.id and a1.sl + a2.sl = 8 order by a2.id ------解决方案--------------------