Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combine and remove duplicate
Message
De
02/07/1999 23:31:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Combine and remove duplicate
Divers
Thread ID:
00237126
Message ID:
00237126
Vues:
48
Hi,
I would like to combine 2 tables (with same structure) and remove duplicate record after query. How could I do so?

I try :
SELECT DISTICNT Card_ID, Status, Date FROM
(SELECT * FROM Table1 UNION SELECT * FROM Table2)

Any Suggestion?
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform