This is table1
. I need to arrange the following data hoizontally.
id date value
1 22/08 500
2 22/08 400
3 23/08 300
4 23/08 200
5 24/08 100
6 24/08 700
Output table:
date 1 2 3 4 5 6
------|-------|------|-------|-------|------|--------
22/08 500 400
------|-------|------|-------|-------|------|--------
23/08 300 200
------|-------|------|-------|-------|------|--------
24/08 100 700
-----------------------------------------------------
I am trying to make the query but failed to get the output table.