SELECT LEFT JOIN where!= value WHERE value is sometimes NULL

前端 未结 0 1403
北恋
北恋 2020-12-12 23:46

I\'m selecting using this code. I want to select everything that doesn\'t have a specific user_id.

SELECT *
FROM sources s
LEFT JOIN userinfo ui ON s.id=ui.so         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题