Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Aggregate from multipl tables
Message
De
17/01/2000 08:16:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/01/2000 07:34:04
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00318566
Message ID:
00318906
Vues:
26
Walter,
AFAIK you cannot use more than one "distinct" in an SQL. So I meant that by "illegal". Maybe I'm overlooking something. If you can supply me a sample SQL working on any VFP sample tables with more than one distinct I'd be glad to use it :)
Thanks again
Cetin

>Cetin,
>
>What do you mean by illegal ? As far as I can see this should work. Where does this go wrong ? The distinct statement within the count should handle the recurance of the same row. Therefore the count statments counts the different PK in the child table.
>
>I'm glad you've found another solution, but i'm curious why this doesn't work for you.
>
>Walter,
>
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform