Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select * from 2 tables
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00307304
Message ID:
00307314
Views:
19
Thanks but if i do this, it only gives me identical records, it seems to eliminate duplicates. , my result table should contain 670 records but it only contains 91.

Tanks


>Stephane,
>
>You should use this:
>
>SELECT [fieldlist] FROM TABLE A ;
>UNION ;
>SELECT [fieldlist] FROM TABLE B
>
>Make sure both fieldlists are compatible, because the union clause can only be used this way. Look in the VFP Help for more info about the UNION clause in a SQL - Select.
>
>Regards,
>Frank Camp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform