查找在一個表存在的字段,在另一個表不存在

#查找在一個表存在的字段,在另一個表不存在
select *   
from user_a u   
where  u.user_id not in( select b.user_id  from user_b b    ) limit 10

 

參考鏈接:https://www.iteye.com/problems/71345

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章