select * FROM Tb_SCh_TIme_Table P PIVOT (MAX(Faculty_Code) FOR Session IN ([1],[2],[3] ,[4])) AS PVT where course = 'PH2' order by date;
Date Course 1 2 3 4 16/1/2013 PH2 GS 16/1/2013 PH2 NR 16/1/2013 PH2 CM
Date Course 1 2 3 4 16/1/2013 PH2 GS 16/1/2013 PH2 NR,CM
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)