Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Help
Message
De
08/10/2014 13:19:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL Help
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609011
Message ID:
01609011
Vues:
68
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,
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform