How so? I still don't think he's going to get the values in a list form in a single column using just SQL.
On 9/12/06, Andrew Scott <[EMAIL PROTECTED]> wrote: > > left outer join would have worked better > > > > On 9/12/06, Adkins, Randy <[EMAIL PROTECTED]> wrote: > > > > Yes > > > > Select users.uid, users.name, locations.location > > From users > > inner join UserLoc on UserLoc.UID = users.uid > > inner join locations on UserLoc.LocID = locations.Locid > > > > > > Did not test it but something like that > > > > > > -----Original Message----- > > From: Duane [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 11, 2006 5:13 PM > > To: CF-Community > > Subject: SQL Question > > > > Hi All, > > > > Is there anyway within an sql query to return a sub query that has > > multiple records? Ex: > > > > Users: > > UID Name > > 1 Fred > > 2 Bob > > 3 Mary > > > > UID LocID > > 1 1 > > 1 2 > > 2 3 > > 3 2 > > > > LocID Location > > 1 Main Office > > 2 Cafeteria > > 3 Gymnasium > > > > Is it possible to return a record set that looks like: > > UID Name Location > > 1 Fred Main Office, Cafeteria > > 2 Bob Gymnasium > > 3 Mary Cafeteria > > > > Thanks, > > Duane > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:215195 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
