How to convert the sql output in below format for the following table?
Table
Date(col 1) Name(col 2) Value(col 3))
2018-03-05 A_SPACE 5534
2018-03-05 B_SPACE 34324
2018-03-06 A_SPACE 4645
2018-03-06 B_SPACE 435
Expected format
Date A_SPACE B_SPACE
--- --- ---
2018-03-05 5534 34324
2018-03-06 4645 435