I am Trying to get attendance report from existing database
here is the sample view of database
UserID Day Attendance
1 2014-12-01 1
1 2014-12-02 0
2 2014-12-01 1
2 2014-12-02 0
2 2014-12-03 1
Here is the Output I need to get
UserID 2014-12-01 2014-12-02 2014-12-03
1 1 0 null
2 1 0 1
i have tried using PIVOT but i can't manage to get multiple rows as columns
here is the running Example of sample database : SQL Fiddle
i really appreciate any help or suggestion
[EDIT]
i need to run this query in MS ACcess database