如何在列中选择NULL为空的行 [英] How to select rows with NULL in a column

查看:96
本文介绍了如何在列中选择NULL为空的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下声明未正确回复。我想在'ActualDateOfDespatch'列中选择那些为NULL的行。



从txfile中选择orderqty,其中ActualDateOfDespatch = NULL

The following statement is not responding correctly. I want to select those rows that are NULL in the column 'ActualDateOfDespatch'.

select orderqty from txfile where ActualDateOfDespatch=NULL

推荐答案

试试这个:

从txfile中选择orderqty,其中ActualDateOfDespatch为NULL
Try this:
select orderqty from txfile where ActualDateOfDespatch is NULL


select orderqty from txfile where ActualDateOfDespatch Is NULL 



快乐编码!

:)


Happy Coding!
:)


试试这个: -

try this:-
select orderqty from txfile where ActualDateOfDespatch Is NULL


这篇关于如何在列中选择NULL为空的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆