Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Summing by location
Message
From
26/07/1999 19:57:45
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00246115
Message ID:
00246384
Views:
12
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform