写了一个下面的SQL语句 selectfromun。awherea。idnotin(selectidfromun。b); 结果一条数据没有,煞是奇怪,原来是selectidfromun。b有NULL的数据,加个过滤条件就可以了 selectfromun。awherea。idnotin(selectidfromun。bwhereidisnotnull);