Hi all,
I would like to know how to effectively transform
<TABLE 1> into <TABLE 2>
<TABLE 1>
ID | PRICE
1 | $2
1 | $3
1 | $4
2 | $5
2 | $6
3 | $7
<TABLE 2>
ID | PRICE_1 | PRICE_2 | PRICE_3 *
1 | $2 | $3 | $4
2 | $5 | $6 | NULL
3 | $7 | NULL | NULL
*The number of columns will depends on the count(*)
size of the same ID.
I am dealing with 700,000 records, so I cannot do them
manually.
Thank you very much for your help and any advice will
be appreciated.
Thanks.
Drew
I would like to know how to effectively transform
<TABLE 1> into <TABLE 2>
<TABLE 1>
ID | PRICE
1 | $2
1 | $3
1 | $4
2 | $5
2 | $6
3 | $7
<TABLE 2>
ID | PRICE_1 | PRICE_2 | PRICE_3 *
1 | $2 | $3 | $4
2 | $5 | $6 | NULL
3 | $7 | NULL | NULL
*The number of columns will depends on the count(*)
size of the same ID.
I am dealing with 700,000 records, so I cannot do them
manually.
Thank you very much for your help and any advice will
be appreciated.
Thanks.
Drew