Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Join table cause unwanted duplicate
Message
De
10/01/2002 07:10:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/01/2002 20:49:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00601834
Message ID:
00602900
Vues:
24
>>>>1) If one table has 3 copies on the matching field, and the other 4, you will get 3*4=12 duplicates in the result set.
>>>>...
>>>Yes, the 1) case.

...

I find it a little complicated to understand the structure of your tables.

But how about combining records with a SELECT - SQL, with a GROUP BY clause. This could get rid of duplicates. This would have to be done BEFORE combining the two tables - perhaps in separate SELECT commands.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform