[英]MS-Access WHERE filter syntax
I have a query: 我有一个查询:
PARAMETERS [Enter From Date:] Text ( 255 ), [Enter To Date:] Text ( 255 );
TRANSFORM Count([Staff Programs].ID) AS CountofProgram
SELECT [Staff Programs].program_name
FROM [Staff Programs]
WHERE ((([Staff Programs].is_noshow)=No) AND (([Staff Programs].actual_date) Between [Enter From date:] And And [Enter To Date:]))
GROUP BY [Staff Programs].program_name
PIVOT [Staff Programs].staff_name;
I need to add one thing to the WHERE
clause. 我需要在
WHERE
子句中添加一件事。
I have a column in the table called "Event Name"> I would like to skip any of the rows where this value is one of: 'Phone Contact', 'Cinician Travel', 'Reporting' or 'Collateral Contact'. 我在表中有一列称为“事件名称”,我想跳过该值是以下值之一的任何行:“电话联系”,“ Cinician旅行”,“报告”或“抵押联系”。
I have been unable to locate the syntax for this. 我无法为此找到语法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.