我在下面有一个查询。希望有人可以帮助我,我只需要显示所有"检查"和"验证"在 [Tbl_Aspac]。[request_mode]
下SELECT [Tbl_Aspac].[request_number],
[Tbl_Aspac].[platform],
[Tbl_Aspac].[request_type],
[Tbl_Aspac].[environment],
[Tbl_Aspac].[id_fid],
[Tbl_Aspac].[requestor],
[Tbl_Aspac].[request_mode],/*←——*/
[Tbl_Aspac].[isa_resolver],
[Tbl_Aspac].[logged_date],
[Tbl_Aspac].[request_medium],
[Tbl_Aspac].[closed_date],
[Tbl_Aspac].[host_name]
FROM Tbl_Aspac
ORDER BY [request_number];
截至目前为止"检查" ,"验证"和"已完成"条目,我不想显示"已完成"只有验证和检查
我将它用于我的Microsoft Access项目。感谢
表格如下所示
答案 0 :(得分:1)
SELECT [Tbl_Aspac].[request_number], [Tbl_Aspac].[platform], [Tbl_Aspac].[request_type], [Tbl_Aspac].[environment], [Tbl_Aspac].[id_fid], [Tbl_Aspac].[requestor], [Tbl_Aspac].[request_mode], [Tbl_Aspac].[isa_resolver], [Tbl_Aspac].[logged_date], [Tbl_Aspac].[request_medium], [Tbl_Aspac].[closed_date], [Tbl_Aspac].[host_name] FROM Tbl_Aspac WHERE [Tbl_Aspac].[request_mode] in ('Checking','Validated') ORDER BY [request_number];
检查一下..希望这有帮助