Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Question
Message
 
 
To
02/05/2001 16:59:57
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00502768
Message ID:
00502778
Views:
14
Correction:

select parent.keyid, parent.field1, ..., parent.fieldN, count(child1.*) Kount1, count(child2.*) Kount2 from parent left join child1 on parent.keyid = child1.parent_id left join child2 on parent.keyid = child2.parent_id where somefilterhere group by parent.keyid
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform