Home > database > How to create the following query in turn informaker
How to create the following query in turn informaker
Time:09-16
Aaa and BBB 101 102 101 102 2 103
The table name: table, field aaa, BBB
Need to get the following query results, it is necessary to put the same record in aaa BBB field value summation, Aaa count (aaa) 13 101 102 103
Don't know whether the SQL directly supports this practice, ever remember informaker group of function can be realized, but forget, for help, thanks a lot!
CodePudding user response:
Create a subtotal column group, and then placed a calculated column to write the sum (BBB)