select a.id from a left join b on a.id=b.id where b.id = NULL; 这样会好点吗