SQLite Forum

Can an application-defined function be used to convert one row of data to multiple rows and insert them into another table?
Login
And [here's the doc you need](https://www.sqlite.org/vtab.html#tabfunc2) to get started.