How do I split a selected date value into many rows, with as a known interval until now for example? I could do it using Recursive CTE, but MySql Aurora(RDS) does't give support.
eg: taking a single result like
|--|----------|
|id|createdAt |
|--|----------|
|1 |2018-01-01|
|--|----------|
Given a 7 days interval, the query should output data like:
|----------|
|clycles |
|----------|
|2018-01-01|
|2018-01-08|
|2018-01-15|
|2018-01-22|
|... |
|----------|