Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Join table cause unwanted duplicate
Message
From
10/01/2002 07:10:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/01/2002 20:49:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00601834
Message ID:
00602900
Views:
26
>>>>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform