Guest_imported
New member
- Jan 1, 1970
- 0
I have two tables A and B. Table A contains a series of records where the same field contains different values until the key changes. For example:
Key Value
1 abc
1 def
1 ghi
2 abc
2 def
3 abc
4 abc
Table B should look like:
Key Value1 Value2 Value3
1 abc def ghi
2 abc def
3 abc
4 abc
Is it possible to do it in sql? Any help is greatly appreciated! Thanks in advance.
J.
Key Value
1 abc
1 def
1 ghi
2 abc
2 def
3 abc
4 abc
Table B should look like:
Key Value1 Value2 Value3
1 abc def ghi
2 abc def
3 abc
4 abc
Is it possible to do it in sql? Any help is greatly appreciated! Thanks in advance.
J.