Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Gone Wild
Message
From
27/03/2003 08:13:04
 
 
To
26/03/2003 16:07:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00770443
Message ID:
00770707
Views:
12
>The follow three commands generate different results for certain data.

I'm also finding it hard to get what you're doing, but the second query has a HAVING clause without a GROUP BY. HAVING should never be used without GROUP BY; it works on intermediate results and is meant to let you filter on the results of aggregation. Move that filter into the WHERE clause.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform