![]() |
#2
棉花糖ONE2007-03-20 11:10
|
delete t1
from t_RMID_RmStkOutItem t1 left join t_RMID_RmStkOutMst t2 on t1.fRmStkOutNo=t2.fRmStkOutNo
where t2.fRmStkOutNo is null
go
left join不是把左边的全部查出来吗? 但是后面的条件又是表2中的空字符的条件?怎么理解?