I don't understand how to duplicate data based on the total of the data, can you help me to solve this problem, thank you
| text | total |
|---|---|
| A | 2 |
| B | 1 |
Result
| text |
|---|
| A |
| A |
| B |
I don't understand how to duplicate data based on the total of the data, can you help me to solve this problem, thank you
| text | total |
|---|---|
| A | 2 |
| B | 1 |
Result
| text |
|---|
| A |
| A |
| B |