S
supercooper
I have a table like so:
-----------------------------------------------------------------------------------
ID API PRODID NAME NUM
6231 00123 2365 SMITH 1-C
5692 00123 4595 JOE 3
I would like to get a result set that looks like so:
-----------------------------------------------------------------------------------
ID1 ID2 API PRODID1 PRODID2 NAME1 NAME2 NUM1 NUM2
6231 5692 00123 2365 4595 SMITH JOE 1-C 3
essentially grouping on API, but taking all other field values from
both records and aliasing them into new fields...to get everything with
the same API into one record.
any ideas?
-----------------------------------------------------------------------------------
ID API PRODID NAME NUM
6231 00123 2365 SMITH 1-C
5692 00123 4595 JOE 3
I would like to get a result set that looks like so:
-----------------------------------------------------------------------------------
ID1 ID2 API PRODID1 PRODID2 NAME1 NAME2 NUM1 NUM2
6231 5692 00123 2365 4595 SMITH JOE 1-C 3
essentially grouping on API, but taking all other field values from
both records and aliasing them into new fields...to get everything with
the same API into one record.
any ideas?