SELECT Date,1,3 FROM Schedule PIVOT (MAX([Code]) FOR Session IN (1,3)) P
SELECT Date,[1],[3] FROM Schedule PIVOT (MAX([Code]) FOR Session IN ([1],[3])) P
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)