如果我有一个表格(上三角矩阵),数据类型为浮点数,例如:
我需要遵循什么方法才能获得以下内容?
在SQL server 2008中是否可能实现这一点?
columns_1 columns_2 columns_3 columns_4
1 12 13 14
null 1 23 24
null null 1 34
null null null 1
我需要遵循什么方法才能获得以下内容?
columns_1 columns_2 columns_3 columns_4
1 12 13 14
12 1 23 24
13 23 1 34
14 24 34 1
在SQL server 2008中是否可能实现这一点?