Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A simple SQL but with the count of the child records
Message
From
20/08/2006 23:00:39
 
 
To
20/08/2006 22:53:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01147165
Message ID:
01147172
Views:
28
>The usual approach to that one is either to SET ENGINEBEHAVIOR TO (??? some older VFP version), or to mention all fields, either in the GROUP BY clause, or with something like MAX().

This also what I would like to avoid.

>I don't know an easy alternative, therefore, I recommend the GROUP BY option.

I believe I have seen a SQL syntax with a sub query that could give me that.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform