delete PRJ项目权限表 from SYS用户 as A1 RIGHT JOIN PRJ项目权限表 as A2
ON A1.ID = A2.用户ID  where A1.ID IS NULL

 

delete A1 from A1,  A2 where A1.对象ID=A2.ID and A2.版本ID = ? 

posted on 2018-03-27 19:27  五星  阅读(307)  评论(0)    收藏  举报