You need to sign in to do that
Don't have an account?
fiona gentry
How to Write SOQL for Distinct of combination of Level_1__c,Level_2__c and Level_3__c
Dear gurus,
I would like to know if there is possibility of writing a SOQL similar like we do in SQL
like Distinct of Level_1__c,Level_2__c and Level_3__c
Currently SOQL is
How to rewrite to include Distinct of Level_1__c,Level_2__c and Level_3__c
Thanks & Regards,
Fiona
I would like to know if there is possibility of writing a SOQL similar like we do in SQL
like Distinct of Level_1__c,Level_2__c and Level_3__c
Currently SOQL is
select Case__c, Level_1__c, Level_2__c,Level_3__c FROM ERT_Case_Type__c
How to rewrite to include Distinct of Level_1__c,Level_2__c and Level_3__c
Thanks & Regards,
Fiona
All Answers
Unfortunately, Distinct is not supported in SOQL. Kindly review below Idea link and vote for this feature.
https://trailblazer.salesforce.com/ideaView?id=08730000000Brr2
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,