当前位置: 代码迷 >> Sql Server >> ■■■■■■■■寻求旋转距阵的最佳方案!最佳方案者再赠送200分!■■■■■■■■解决方法
  详细解决方案

■■■■■■■■寻求旋转距阵的最佳方案!最佳方案者再赠送200分!■■■■■■■■解决方法

热度:75   发布时间:2016-04-27 15:08:01.0
■■■■■■■■寻求旋转距阵的最佳方案!最佳方案者再赠送200分!■■■■■■■■
declare   @tb   table   (F1   smallint,F2   smallint,F3   smallint,F4   smallint,F5   smallint,F6   smallint)  
insert   into   @tb
select   1   F1,2   F2,3   F3,4   F4,5   F5,6   F6   union   all  
select   1   F1,2   F2,3   F3,4   F4,5   F5,7   F6   union   all  
select   1   F1,2   F2,3   F3,4   F4,5   F5,8   F6   union   all  
select   1   F1,2   F2,3   F3,4   F4,6   F5,7   F6   union   all  
select   1   F1,2   F2,3   F3,4   F4,6   F5,8   F6   union   all  
select   1   F1,2   F2,3   F3,4   F4,7   F5,8   F6   union   all  
select   1   F1,2   F2,3   F3,5   F4,6   F5,7   F6   union   all  
select   1   F1,2   F2,3   F3,5   F4,6   F5,8   F6   union   all  
select   1   F1,2   F2,3   F3,5   F4,7   F5,8   F6   union   all  
select   1   F1,2   F2,3   F3,6   F4,7   F5,8   F6   union   all  
select   1   F1,2   F2,4   F3,5   F4,6   F5,7   F6   union   all  
select   1   F1,2   F2,4   F3,5   F4,6   F5,8   F6   union   all  
select   1   F1,2   F2,4   F3,5   F4,7   F5,8   F6   union   all  
select   1   F1,2   F2,4   F3,6   F4,7   F5,8   F6   union   all  
select   1   F1,2   F2,5   F3,6   F4,7   F5,8   F6   union   all  
select   1   F1,3   F2,4   F3,5   F4,6   F5,7   F6   union   all  
select   1   F1,3   F2,4   F3,5   F4,6   F5,8   F6   union   all  
select   1   F1,3   F2,4   F3,5   F4,7   F5,8   F6   union   all  
select   1   F1,3   F2,4   F3,6   F4,7   F5,8   F6   union   all  
select   1   F1,3   F2,5   F3,6   F4,7   F5,8   F6   union   all  
select   1   F1,4   F2,5   F3,6   F4,7   F5,8   F6   union   all  
select   2   F1,3   F2,4   F3,5   F4,6   F5,7   F6   union   all  
select   2   F1,3   F2,4   F3,5   F4,6   F5,8   F6   union   all  
select   2   F1,3   F2,4   F3,5   F4,7   F5,8   F6   union   all  
select   2   F1,3   F2,4   F3,6   F4,7   F5,8   F6   union   all  
select   2   F1,3   F2,5   F3,6   F4,7   F5,8   F6   union   all  
select   2   F1,4   F2,5   F3,6   F4,7   F5,8   F6   union   all  
select   3   F1,4   F2,5   F3,6   F4,7   F5,8   F6

/*
[email protected],2,3,4,5,6,7,8这8个数的组6组合


F1           F2           F3           F4           F5           F6          
------   ------   ------   ------   ------   ------  
  相关解决方案