I have the following table:
oGroup oDate oValue
--------------------------------
A 2014-01-01 20
A 2014-01-02 30
B 2014-01-01 5
B 2014-01-02 15
C 2014-01-01 40
C 2014-01-02 60
I want to have the following result:
oGroup 2014-01-01 2014-01-02
----------------------------------
A 20 30
B 5 15
C 40 60
How can I achieve this in SQL Server 2008?
Thank you.