【发布时间】:2020-03-03 05:28:09
【问题描述】:
我正在尝试使用 SOQL 从对象 Lead 中获取计数。 当我点击下面提到的查询时,我得到了结果。
select 'Lead' as source_table,count(*) as source_count from Lead
但是当我尝试使用此查询为where 提供条件时,它会抛出错误。
选择 'Lead' 作为 source_table,count() 作为来自 Lead 的 source_count 其中 创建日期 > 2020-02-24T09:43:51Z
我有什么遗漏的吗?
【问题讨论】:
标签: salesforce soql salesforce-lightning salesforce-service-cloud salesforce-communities