Tuesday, December 26, 2017

Fetching Unique Record in Salesforce

lIST<AggregateResult> listofAccountsAggregateResult = [SELECT Name FROM Account GROUP BY Name];

It will return unique record of Accounts

No comments:

Post a Comment