SOQL query to fetch and group all the records in an Object based on Created date.

PHOTO EMBED

Mon Jul 25 2022 19:11:15 GMT+0000 (Coordinated Universal Time)

Saved by @pradeepkumar28 #javascript

select day_only(createdDate) createdonDate, count(createdDate) numCreated from SEASS__Asset_Detail__c group by day_only(createdDate) order by day_only(createdDate) desc


Need to replace a Object Name thats it.


content_copyCOPY