假设我有一个包含Project_type
,Project_No
,OS_Platform
列的表格。这里我限制了Project_type
和限制OS_Platform
。我想要一个在Project_type
和OS_Platform
之间产生矩阵的数据库视图。从表格的两个选定列生成的矩阵视图
MY_TABLE :
Project_Type Project_No OS_Platform
Drivers 345 Linux
WebService 453 Windows
Drivers 034 Windows
Drivers 953 Solaris
DesktopApp 840 Windows
WebService 882 Solaris
现在我有Project_type
和OS_Platform
为选中的列。我想要这两列的矩阵视图具有不同的行和列名称。
Project_Type Linux Windows Solaris
WebService null true true
Drivers true true true
DesktopApp null true null
任何人都可以告诉我,如果这是可能的。这怎么可能?
通过“有限,”你的意思是,你知道每个接口的所有可能的值?如果是这样,这变得容易。 –
是的所有可能的值都是已知的..但我不感兴趣的价值是不参与 – NPK