表格中有null值,用is null语句为什么不返回结果?

表格中有null值,用is null语句为什么不返回结果?
用is not null就返回全部……

1,原表格长这样,有三个null值:↓↓

img

2,用select * from tb_course where priorcourse is not null;
会返回全部↓↓

img

3,用select * from tb_course where priorcourse is null;
啥也没返回↓↓

img

4,确认了一下,这三个值真的是null……↓↓

img

计算机二级第四章例4.20,请教各位,问题是出在哪儿呀??!很迷惑

mysql语法不是这样,你这个mssql语法

-- mssql
select * from tb where field is not null

-- mysql
select * from tb where not isnull(field)