Query Deleting Records in One Table by using “NOT IN ” clause to check with multiple table. Can this query be more simplified?

后端 未结 0 1588
既然无缘
既然无缘 2020-12-23 18:07

Right now i am using the below query

 string myQry = "DELETE FROM myMainTbl AS a WHERE
    a.id NOT IN(SELECT b.mainid FROM mySubTbl_1 AS b WHERE b.maini         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题