The amount of money, such as 100 pieces to be divided into a lot of people, above level 15%, above 20% 20%, on the top 15%, 15%, on the top 5%,5%
Reply content:
The amount of money, such as 100 pieces to be divided into a lot of people, above level 15%, above 20% 20%, on the top 15%, 15%, on the top 5%,5%
Yes, I think so.
Company ID, company name, parent company ID This is a tree-like menu.
For example, company id=15, company name = three-dimensional code technology, parent company ID=17
First write an algorithm, one level up to look up, form a tree menu, the topmost, the parent id=0
This way, you can allocate revenue.
You want the code + table design! Still want to train of thought Ah!
table design to see Unlimited classification
Code logic according to level one, level two, Level three ..... The percentage of the classification