delete A
where not exists (select 1 from b where
b.cbh=a.cbh and b.jhdh=a.jhdh and b.mxbh=a.mxbh And B.cbh<>nil)
B.cbh<>nil 要求同时表B.cbh<>nil 这里怎么写
...全文
395打赏收藏
sql语句的问题?
删除表A在表B里没有的记录 delete A where not exists (select 1 from b where b.cbh=a.cbh and b.jhdh=a.jhdh and b.mxbh=a.mxbh And B.cbhnil) B.cbhnil 要求同时表B.cbhnil 这里怎么写