I am getting employee data from source which gives me 2 rows for same employee. 1st row has a salary and 2nd has commission. to identify if it is salary or commission I have got one Flag column.
Now I want to store it in single row in my target table, where I would have salary and commision as columns.