SQL Query Help Please
Posted
by DaveC
on Stack Overflow
See other posts from Stack Overflow
or by DaveC
Published on 2010-05-20T19:11:12Z
Indexed on
2010/05/20
19:20 UTC
Read the original article
Hit count: 242
Hello,
I have an addition SQL question, hopefully someone here can give me a hand.
I have the following mysql table:
ID Type Result
1 vinyl blue, red, green
1 leather purple, orange
2 leather yellow
and i am seeking the following output:
ID Row One Row Two
1 vinyl blue, red, green leather purple, orange
2 leather yellow
the thing is... type is not static... there are many different types and not all of them have the same ones. They need to follow in order. Any help is greatly appreciated.
© Stack Overflow or respective owner