function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
penchala rajupenchala raju 

What will be the count of no of records taking part in the Aggregate SOQL

siva thumatisiva thumati

AggregateResult[] ARs = [SELECT count(Id) myCount, Cabin_Type__c, Deck_Type__c FROM cruise_ deck_Cabin_paln__c GROUP BY Cabin_Type__c, Deck_Type__c];
rajesh gandirajesh gandi
Total number of records retrieved by SOQL queries -> 50,000
But remember, you can not count more than the allowed governor limit 


U got answer . please select best answer