了解查询中的 IS NULL OR
Understanding IS NULL OR in a query
我正在尝试让我的查询显示所有包含空白的单元格。
这是我的代码:
SELECT tblSourceData.[Athlete], tblSourceData.[Gender], tblSourceData.[Competition Date], tblSourceData.[Swim], tblSourceData.[Bike], tblSourceData.[Run]
FROM tblSourceData;
WHERE tblsourcedata.[swim] is null or tblSourceData.[bike] is null or tblSourceData.[run] is null
一直报错'Characters found after end of SQL statement'
知道我哪里出错了吗?
谢谢
删除 From 子句末尾的分号
都是一条语句...只在 SELECT 语句的末尾加上分号
我正在尝试让我的查询显示所有包含空白的单元格。
这是我的代码:
SELECT tblSourceData.[Athlete], tblSourceData.[Gender], tblSourceData.[Competition Date], tblSourceData.[Swim], tblSourceData.[Bike], tblSourceData.[Run]
FROM tblSourceData;
WHERE tblsourcedata.[swim] is null or tblSourceData.[bike] is null or tblSourceData.[run] is null
一直报错'Characters found after end of SQL statement'
知道我哪里出错了吗?
谢谢
删除 From 子句末尾的分号
都是一条语句...只在 SELECT 语句的末尾加上分号