MYSQL Left Join how do I select NULL values?

后端 未结 4 1945
执念已碎
执念已碎 2020-12-09 14:43

This is a follow up question to my last question about table joins in MySQL

I need to be able to select the NULL values from the left joined table.

Here\'s m

4条回答
  •  悲哀的现实
    2020-12-09 15:21

    According to MySQL specification you should use "IS NULL" instead of "= NULL". It says that "(NULL = NULL) equals to NULL". But NULL equals False while it used as Boolean.

提交回复
热议问题