Enum Group
A
1 =demo.query("select EID, NAME+?+SURNAME as FULLNAME, GENDER, STATE, BIRTHDAY, SALARY from EMPLOYEE"," ")
2 [?<8000,?<12000,?>=12000]
3
=A1.enum(A2, SALARY)
4
=A3.new(#:Group,~.count():Count)
5 [?<8000,?<10000,?<12000,null]
6
=A1.enum(A5, SALARY)
7
=A6.new(#:Group,~.count():Count)

Of A3 the group result is as follows. Each group is an RSeq on which you can click to view:

Of A4 the statistics is as follows:

Of A6 the group result is as follows. Each group is a RSeq on which you can double click to view:

Of A7 the statistics result is as follows: