ansi sqlでこれに相当するハイブ構文が必要です
insert into tablea
(id)
select id
from tableb
where id not in (select id from tablea)
そのため、tablea には重複が含まれず、tableb からの新しい ID のみが挿入されます。
ansi sqlでこれに相当するハイブ構文が必要です
insert into tablea
(id)
select id
from tableb
where id not in (select id from tablea)
そのため、tablea には重複が含まれず、tableb からの新しい ID のみが挿入されます。