I just know a few things about SQL Server, but i want to transpose a table with a daily values of a couple of ID's.
I've searching for a query example without having results. I want an explanation for group by date sintaxys for my transposed table.
This is an example of my original table:
DATE ID VALUE
2010-04-05 a 8
2010-04-05 b 7
2010-04-05 c 6
2010-04-05 d 5
2010-04-06 a 9
2010-04-06 b 8
2010-04-06 c 7
2010-04-06 d 6
2010-04-07 a 10
2010-04-07 b 9
2010-04-07 c 8
2010-04-07 d 7
And i want something like this:
DATE a b c d
2010-04-05 8 7 6 5
2010-04-06 9 8 7 6
2010-04-07 10 9 8 7