Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Help
Message
From
08/10/2014 13:19:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL Help
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609011
Message ID:
01609011
Views:
69
I have two tables as follows:
Table 1:

PCID          DESC             DIM1          DIM2          LEN_FT          LEN_IN
A123            W               10             12              40              0
A124            W               10             12              35              6
etc...


Table 2:

PCID          BCID                         LOC
A123          cIV333334                   A1
A123          cIV333335                   A1
A123          cIV333336                   B1
A124          cIV333337                   C1
A124          cIV333338                   D1
A124          cIV333339                   E1
etc...
I am looking for the following result:
PCID          DESC             DIM1          DIM2          LEN_FT          LEN_IN      LOC
A123            W               10             12             40               0        A1, B1
A124            W               10             12             35               6        C1,D1,E1
etc...
Is this possible using sql?

Thanks in advance,
Next
Reply
Map
View

Click here to load this message in the networking platform