阅读背景:

SQL不等于不返回NULL结果

来源:互联网 
table 'materials'
id   sku  content
10   IT2   Iron
11   IT3   Steel
12   IT4   Steel
13   IT5   NULL
14   IT6   Iron
15   IT7   Glass

select id, sku, content from materials where content !='Iron';
table 'materials'
id   sku  content
10   IT2   



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: