Functionality C01IsInternal C02IsInternal C03IsInternal -------------------------------------------------------- F1 ON OFF OFF F2 OFF NULL ON F3 ON ON NULL
select Distinct( fm.Functionality) as Functionality, (select IsInternal from FunctionMatrix fm1 where fm1.Division='C01' and fm1.functionality=fm.functionality) as C01IsInternal, (select IsInternal from FunctionMatrix fm1 where fm1.Division='C02' and fm1.functionality=fm.functionality) as C02IsInternal, (select IsInternal from FunctionMatrix fm1 where fm1.Division='C03' and fm1.functionality=fm.functionality) as C03IsInternal from FunctionMatrix fm
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)