I have a mapservice published to ArcGIS Server 10.1. On the
myserver:6080/arcgis/rest/services/..../MapServer
I would like to specify a Query where I can get all the unique values for a specific field (i.e. "myfield")
An example of the values "myfield" contains is:
A
A
B
B
C
C
D
D
What I want the query to return is:
A
B
C
D
What parameters should I specify to get DISTINCT values? I tried sticking DISTINCT in the "Where:" box, but it did not work.