A B C D 1 10 3 有 2 6 e 无 3 3 6 有 判断c列的值在A列中是否存在(假定C列为需要判断列,A列为目标列) 在D1中输入以下公式,然后下拉公式即可 =IF(COUNTIF(A:A,C1)>0,"有","无") =IF(COUNTIF(目标列,判断列首个单元格)>0,"是","否")…
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…