Transpose rows to columns in teradata query pull

Want to understand how we can transpose data from rows to columns in teradata datapull using Toad data point. Rows will are dynamic for and hence columns also need to be dynamic.

Take a look at this (not dynamic though):

forums.teradata.com/…/transpose-rows-to-columns-0