Hello,
Need your help in solving an issue.
I'm trying to insert a number of rows in the data. The number of rows isn't fixed. For eg. for some transactions, 2 rows have to be inserted, for others, the number is 5 and so on.
Following data will clear this out:
| date_time | time_slot |
| 2019-08-21 10:23:12 | 20-30 |
| 2019-08-21 10:24:01 | 20-30 |
| 2019-08-21 11:14:07 | 10-20 |
| 2019-08-21 11:23:09 | 20-30 |
| 2019-08-21 11:50:45 | 50-60 |
Desired output:
| date_time | time_slot |
| 2019-08-21 10:23:12 | 20-30 |
| 2019-08-21 10:24:01 | 20-30 |
| 2019-08-21 10:30:00 | 30-40 |
| 2019-08-21 10:40:00 | 40-50 |
| 2019-08-21 10:50:00 | 50-60 |
| 2019-08-21 11:00:00 | 0-10 |
| 2019-08-21 11:14:07 | 10-20 |
| 2019-08-21 11:23:09 | 20-30 |
| 2019-08-21 11:30:00 | 30-40 |
| 2019-08-21 11:40:00 | 40-50 |
| 2019-08-21 11:50:45 | 50-60 |
Please guide!