combine cols from joined table onto one line?

  • I need to join two tables customers and ridedates. Each Customer may have taken one or more rides, in which case a row for each ride exists in the Ridedates table. I would like the result row to display the customer name info and all the ridedates from the joined table (could be comma delimited string).

    John Doe 7/4/2006,8/1/2006

    select c.name, r.ridedate from customer c join ridedates on c.uniqueid = r.uniqueid

    Any suggestions would be appreciated.

  • Try this...

    I wasn't born stupid - I had to study.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply