I have a table with multiple rows of the same data across months
ranging from 2 or 3 months, up to 24, it varies.
I need to collapse this into a single row of data to insert into a table.
Here's an example of the data,

Plant ITMID YR QTR
MON Units
CON 00001-0010 2007 Q02 06 1
CON 00001-0010 2007 Q03 07 1
CON 00001-0010 2007 Q03 08 1
CON 00001-0010 2007 Q03 09 1
CON 00001-0010 2007 Q04 10 1
CON 00189-M003 2007 Q02 06 3
CON 00189-M003 2007 Q03 07 3
CON 00189-M003 2007 Q03 08 3
CON 00189-M003 2007 Q03 09 3

Desired output
Plant ITMID YR QTR
MON Units YR QTR MON Units YR QTR MON Units,
etc...
CON 00001-0010 2007 Q02 06 1 2007 Q03 07
1
2007 Q03 1...




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.