IT與技術如何使用 Salesforce SOQL 獲取每天建立的記錄數如何使用 Salesforce SOQL 獲取每天建立的記錄數開啟開發者控制台。開啟 Query Editor 索引標籤。貼上並執行以下 SOQL。1 select day_only(createdDate), count(createdDate) from account group by day_only(createdDate) order by count(createdDate) desc limit 10 請將 account 更改為您想要獲取的任何物件名稱並執行。參考Is there a way to group by the date portion of a datetime field in SOQL?