Yes, you would need to look into the manual for a recursive SQL statement.
I've done them.

Michael Schutte
Admin Professional
Bob Evans Farms, Inc.

Bob Evans NEW! Farmhouse Philly Knife & Fork Sandwich: It's No Ordinary
Try all four Knife & Fork Sandwiches, starting at 5.99.
For more information, visit

midrange-l-bounces@xxxxxxxxxxxx wrote on 09/09/2008 06:01:24 AM:

I am looking for a method in SQL to append a column from multiple rows
a single column of a result set.

If I have a table with the following (simplified example):

AddrID AddrTyp
1 Bill
1 Ship
1 Mail
2 Ship
2 Mail
3 Bill

And want to see the following in an SQL result set:

1 Bill,Mail,Ship
2 Mail,Ship
3 Bill

Is this something that is possible in SQL?

-- Scott

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


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

This mailing list archive is Copyright 1997-2019 by 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].