title: How to select several aggregate values in one query in Azure Cosmos DB
body: <p>I'm trying to select min timestamp and max timestamp from a collection in one query.</p>
  
  <p>All variants, like</p>
  
  <pre><code> SELECT value min(c._ts), value max(c._ts) FROM c
   SELECT value min(c._ts), max(c._ts) FROM c
   SELECT values min(c._ts), max(c._ts) FROM c
  </code></pre>
  
  <p>produce errors like</p>
  
  <pre><code>: {"code":400,"body":"{\"code\":\"BadRequest\",\"message\":\"Message: {\\\"errors\\\":[{\\\"severity\\\":\\\"Error\\\",\\\"location\\\":{\\\"start\\\":23,\\\"end\\\":24},\\\"code\\\":\\\"SC1001\\\",\\\"message\\\":\\\"Syntax error, incorrect syntax near ','.\\\"}]}\\r\\nActivityId: ad845eae-8b97-4f24-b372-dd5ce8f4d2a6, Microsoft.Azure.Documents.Common/2.0.0.0\"}","activityId":"ad845eae-8b97-4f24-b372-dd5ce8f4d2a6"} 
  </code></pre>
  
  <p>Is there such possibility in Azure Cosmos DB? </p>