in reply to join column 3 for unique values

It is likely much more efficient to have the database to this for you.

Even though sybase lacks the "group concat" functionality, you can get the equivalent by following these steps.

        ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall