|
The format is as follows:
The fields are:
Date, model, sales
12.1 A 2
12.1 B 1
12.1 C 1
12.1 E 3
12.1 F 1
12.1 H 2
12.1 I 1
12.2 A 1
12.2 C 1
12.2 D 1
12.2 E 4
12.2 H 2
A total of 20 units were sold above (regardless of model). I want to know which products are selling the best. Therefore, I can find and sort.
The resulting result set is: (regardless of date).
Model number
E 7
H 4
A 3
C 2
B 1
D 1
F 1
I 1
Now, I want to know, which products I accounted for the total sales: 20%, obviously, it is E 7, if I want to know which sales accounted for 50%, obviously, it is: E 7 ,, H 4, If you want to reach 80%, it is E, H, A, C ... |
|