> Is this possible? To add to what MBL said, see: <https://www.sqlite.org/vtab.html> in particular, there's a link at the bottom of section 1 to more virtual tables: <https://www.sqlite.org/vtablist.html> one of which may already do what you want or provide a good starting point.