Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combine and remove duplicate
Message
From
02/07/1999 23:31:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Combine and remove duplicate
Miscellaneous
Thread ID:
00237126
Message ID:
00237126
Views:
47
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...
Next
Reply
Map
View

Click here to load this message in the networking platform