I am not exactly sure how to ask this. I have a table with the colums, timestamp,user,and another field. Looking like below:
USER,TIME,FIELD USR1,MON,VALUE1 USR1,TUE,VALUE1 USR2,MON,VALUE1 USR2,MON,VALUE2 USR1,MON,VALUE1
There is no upper level to the amount of users, they can be added on the fly and there is no naming convention. What i want to do is make a select statement, and get something like be this:
USR1,USR2 MON,VALUE1: 2 1 MON,VALUE2: 0 1 TUE,VALUE1: 1 0
Is that possible?
I'm using MSSQL
Thank you in advance.