Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Query gives wrong results
Message
De
01/08/2001 14:55:22
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
01/08/2001 12:08:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00537861
Message ID:
00538470
Vues:
7
>Hi Nancy,
>
>>Did you first get the query working w/o the GROUP BY clause, to confirm your join is working correctly?
>
>Yes I did. I end up with 6 identical records for each of the 2 grouped records.

And that is correct? They should be identical?

>>Also, I believe the GROUP BY clause needs to have all non-calculated fields specified.
>
>I tried this just now. No change.
>
>Thanks for the tip. If you think of anything else. I'm still stumped.

Actually hadn't had my coffee before so that was just the basics. You do need the grouping fields, though.

As for the rest, would be easiest if you post a small example of the raw data (a few records, enough to show the issue) and the result you would expect. Then we can work from there. At least that's how I'd approach it, but I'm a SQL grunt, not guru.

Please use the < pre>< /pre> tag (w/o the spaces) to format the data.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform