Azure – Multiple COUNT columns in cosmos DB GROUP BY query
I want to use multiple COUNT columns in cosmos DB GROUP BY query. I have tried with a query something like this. SELECT c.departmentName, CASE WHEN c.age > 50 THEN COUNT(c.EmpId) ELSE 0 END AS category1, CASE WHEN c.age <=…