SELECT t1.name
FROM table1 t1
LEFT JOIN table2 t2 ON t2.name = t1.name
WHERE t2.name IS NULL
查询存在A表但不存在B表
猜你喜欢
转载自blog.csdn.net/zanlinux/article/details/110198057
今日推荐
周排行