insert into tableA select * from tableB b where not exists(select 1 from tableA a where a.id = b.id)
insert into tableA select * from tableB b left join tableA a on a.id = b.id where a.id is null
Copyright @ 2024 影子博客 Powered by .NET 9.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster