我想做与以下 SQL 查询等效的操作 -
(大致)
SELECT
Name,
application_Version
Rank() OVER (PARTITION BY application_Version ORDER BY CountOfEventNamePerVersion)
FROM
customEvents
假设我CountOfCompanyPerVersion
很容易得到这个领域。我想使用 AIQL 做同样的事情,但我无法做到这一点。这是我尝试过的一个查询-
customEvents
| summarize count() by name, application_Version
| project name, application_Version, count_
| summarize x = count(count_) by application_Version
| where x = count_
基本上我想获得每个 application_Version 最常见的名称。我怎样才能做到这一点?