Commit c2d9078 1 parent 9c3be16 commit c2d9078 Copy full SHA for c2d9078
File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 2
2
# October 25, 2022
3
3
## operator
4
4
- [ count] ( https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/countoperator )
5
-
6
5
` Customers | count; `
7
6
` Customers | where Age< 30 | count; `
8
7
` Customers | where Age< 30 | limit 2 | count; `
9
8
` Customers | where Age< 30 | limit 2 | count | project Count; `
10
9
10
+ - [ top] ( https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/topoperator )
11
+ ` Customers | top 3 by Age; `
12
+ ` Customers | top 3 by Age desc; `
13
+ ` Customers | top 3 by Age asc | order by FirstName; `
14
+ ` Customers | top 3 by FirstName desc nulls first; `
15
+ ` Customers | top 3 by FirstName desc nulls last; `
16
+ ` Customers | top 3 by Age | top 2 by FirstName; `
17
+
18
+ - [ top-hitters] ( https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/tophittersoperator )
19
+ ` Customers | top-hitters a = 2 of Age by extra; `
20
+ ` Customers | top-hitters 2 of Age; `
21
+ ` Customers | top-hitters 2 of Age by extra | top-hitters 2 of Age | order by Age; `
22
+ ` Customers | top-hitters 2 of Age by extra | where Age > 30; `
23
+ ` Customers | top-hitters 2 of Age by extra | where approximate_sum_extra < 200; `
24
+ ` Customers | top-hitters 2 of Age | where approximate_count_Age > 2; `
25
+
11
26
12
27
# October 9, 2022
13
28
You can’t perform that action at this time.
0 commit comments