How to Seperate column values into multiple rows based on Condition. Resultant table will show in Grid view
. I tried with Count(*)
in multiple select
statements but not what i expected. Thanks in advance
Table: RegistrationReport
Date Type
-----------------------------------------
02/05/2015 A
04/05/2015 B
04/05/2015 C
05/05/2015 A
I need output like this:
Date Type 1 Type 2 Type 3
--------------------------------------------------
02/05/2015 A - -
04/05/2015 - B -
04/05/2015 - - C
05/05/2015 A - -
--------------------------------------------------
Total: 2 1 1