我试图将行从表复制到另一个仅使用 2 列,因为拖表模式不相同,我收到此错误
操作数应包含 1 列
任何提示我的陈述有什么问题?
Insert table1 ( screenname,list_id )
Select screenname,list_id
From table2 As T1
Where Not Exists (
Select 1
From table1 As T2
Where
(T2.screenname = T1.screenname,T2.list_id = T1.list_id)
)