表数据:
sql:
SELECT * FROM USER WHERE NAME != 'aaa'
结果:
可以发现少了为null的数据。可以SELECT * FROM USER WHERE NAME != 'aaa' OR NAME IS NULL
表数据:
sql:
SELECT * FROM USER WHERE NAME != 'aaa'
结果:
可以发现少了为null的数据。可以SELECT * FROM USER WHERE NAME != 'aaa' OR NAME IS NULL