Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A simple SQL but with the count of the child records
Message
De
20/08/2006 23:00:39
 
 
À
20/08/2006 22:53:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01147165
Message ID:
01147172
Vues:
30
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform