Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Aggregate from multipl tables
Message
From
17/01/2000 08:16:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/01/2000 07:34:04
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00318566
Message ID:
00318906
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform