If I have my data an ArcGIS Server and I don't want to bring all the data, but I want to make a query first to select group some data together then bring only the result. How can I make that as the records number is huge and I don't want the records, I want only the result of grouping them together?
For example: If you have lands, each assigned with for a specific use (agricultural, industrial, etc..), the number of records is huge, you have a website that filters the lands with their location, use, or both, and the result is only the the percentage area of the filtered data w.r.t the total area. So you don't want to bring all the data you want only the result. How to make this?