select day_only(createdDate) createdonDate, count(createdDate) numCreated from account group by day_only(createdDate) order by day_only(createdDate) desc
这个 sql 返回结果计数基于天。但我希望基于月份的结果计数。任何方式来实现这个soql。
select day_only(createdDate) createdonDate, count(createdDate) numCreated from account group by day_only(createdDate) order by day_only(createdDate) desc
这个 sql 返回结果计数基于天。但我希望基于月份的结果计数。任何方式来实现这个soql。