You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ROQL: Error after distinct

Accepted answer
20
Views
3
Comments
edited Sep 19, 2016 3:04PM in Integrations and APIs 3 comments

Content

i have the following query : SELECT Distinct(CO.Shop.Shop_Name) FROM CO.Shop where CO.Shop.Affected_Country.lookupName='USA' 

 

there is an error after DISTINCT, and if i use DISTINCT(CO.Shop) the results are like if there is no DISTINCT at all, is there an alternative to use something like distinct in ROQL?

Version

May 2016

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!