Re: Merging two Tables
Posted by: CMS
Date: March 10, 2005 04:46PM

I don't have an old version of MySQL to test this with, but this works on 5.0.2.

CREATE TABLE TableC SELECT DISTINCT * FROM (SELECT * FROM A UNION ALL SELECT * FROM B) sq;

Options: ReplyQuote


Subject
Written By
Posted
March 07, 2005 02:01PM
March 07, 2005 07:46PM
Re: Merging two Tables
CMS
March 10, 2005 04:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.