|
I have a file that looks like this: PZSTAT | PZRQTP | COUNT | -------------------------- C | 1 | 6 | -------------------------- N | 1 | 1 | -------------------------- C | 2 | 18 | -------------------------- I | 2 | 1 | -------------------------- N | 2 | 2 | -------------------------- C | 3 | 3 | -------------------------- C | 5 | 2 | -------------------------- N | 5 | 3 | -------------------------- Is there any way to use subselects in sql to transform it to the following: pzrqtp | C | I | N ------------------------------ 1 | 6 | | 1 ------------------------------ 2 | 18 | 1 | 2 ------------------------------ 3 | 3 | | ------------------------------ 5 | 2 | | 3 ------------------------------ Thanks! Mike E.
As an Amazon Associate we earn from qualifying purchases.
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.