Delete From StudentTb Where StudentType in (1, 2) and StudentI not in
(
Select lg.StudentI From StudentLog lg
)
上記のコードを次のように変更しようとしました...しかし、それが正しいかどうかはわかりません。
Delete From StudentTb Where StudentType in (1, 2)
and Not Exists
(
Select 'x'
From StudentLog lg
Where StudentI= lg.StudentI
)
誰でも私を助けてもらえますか?