Using VIEW is the right way if you are looking for data to reflect changes in source tables.
If you really want the data to be copied to a new table, you need to do something like:
CREATE TABLE tc(key,col1,col2) INSERT INTO tc (key,col1,col2) SELECT ta.key, ta.col1, tb.col2 FROM ta FULL OUTER JOIN tb USING(key)
This will populate the new table with data from the old tables, but they can vary independently.
Joe Gauterin Jan 04 '10 at 11:18 2010-01-04 11:18
source share