例,删除表A中的记录,要求是表A中有,表B中没有相应记录的:delete from A
from A left join B on a.stdno=b.stdno 
where b.stdno is null