![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 13 Oct 2004 @ 11:57:21 GMT
I guess so that the table structure (of all the 3 tables) are the same from John's query:
INSERT INTO table_copy
SELECT *
FROM table
WHERE (X,Y) NOT IN (SELECT DISTINCT X,Y
FROM Mtable)
;insert into table_copy
select *
from Mtable;
Narayan
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||