I have data into below format in source table :
MTH_ID VOL
201306 29699420633
201307 31573662296
201308 31482365216
201309 31037480379
201310 33828084122
I want to write a sql query in netezza to convert data into below format
201306 201307 201308 201309 201310
29699420633 31573662296 31482365216 31037480379 33828084122
In source table I have more than 50 rows and above data is just sample data. Please help me on this. Thanks in advance.