必须知道一个共同字段,假设为 idselect * from dir_list where not exists(select * from dir_allot where id=dir_list);