我一直在尝试使用Countdistinct编写一个基于SQL的查询,但在如何正确构造MicrosoftAccess的格式方面遇到了一些问题。我当前的查询格式如下,如果可能,我想将计数操作转换为distinctcount:a.Customer_ID, a.First_Name,
COUNT (b.Payment_Method) AS Payment_Method <- would like to get the distinct</e
select accounts.name, count( case when ((( estimated_start_date<='2013-01-01' inner join accounts on project_cstm.account_id_c=accounts.id所以我对表inner join project_task进行了内部连接,结果应该