Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Network:
Windows 2003 Server
Doing a SELECT-distinct with a UNION or an INDEX Unique on APPENDed tables is simple enough....
.... BUT ....
The removed duplicates should be evenly distributed amongst the 4 origins! So that makes it a lot more complex...
I am not looking for the VFP-commands that do the removing of the duplicates, but for the algorithm that does it the way I need to...
>>Edward also made it clear to me that I am didn't describe that aspect clear enough. Rreading my text, I understand that.
>>
>>The resulting table should be a concatenation of the 4 tables, with all duplicates removed, but that should happen in an evenly distributed way, like the numerical examples displayed.
>
>Where I am confused about is that if these duplicate records are in fact duplicates how does the final table have any idea where the unique records came from? IOW, why not just do a union of the four tables that is distinct?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement