Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Summing by location
Message
De
26/07/1999 19:57:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00246115
Message ID:
00246384
Vues:
17
PK : Primary key
FK : Foreign key

These represent the fields on which the join will be performed. In the previous SELECT-SQL, the PK of the parent table (Inv) was joined with the FK of the child table (OnHand).

HTH

>>Try:
>>
SELECT Inv.Location, Count(OnHand.PK);
>>   FROM Inv;
>>   LEFT OUTER JOIN OnHand ON Inv.PK = OnHand.FK;
>>   GROUP BY Inv.Location
HTH
>
>Eh? What do the PK and FK represent?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform