BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SQL novice question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases
View previous topic :: View next topic  
Author Message
Kalamgish
Guest





PostPosted: Sat Jun 11, 2005 2:22 pm    Post subject: SQL novice question Reply with quote



As an SQL novice could someone tell me if the following is possible?

I would like to get this result into a dataset

t1.name,t2.type+t2.type+t2.type

from two tables in a 1:many relationship
T1
name, key
T2
key,type

where key links the tables

e.g.

T1
fred 123
bill 456
T2
123 X
123 Y
456 P
456 Q
456 R

The query giving
fred XY
bill PQR

Thanks.
P.S. using msaccess db engine.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.