You can already do this ... https://sql.js.org/#/?id=api-documentation:~:text=//%20You%2...
28 karma · joined April 10, 2015
create table testInt(num Integer); WITH n(n) AS(SELECT 1 UNION ALL SELECT n+1 FROM n WHERE n < 1000000) insert into testInt select n from n;
On my machine - Mac Mini 3 GHz Dual-Core Intel Core i7 16 GB 1600 MHz DDR3
this takes Run Time: real 0.362 user 0.357236 sys 0.004530
sqlite shell - https://www.sqlite.org/download.html
combine the two for a high throughput web app - https://hackernoon.com/stream-a-million-websocket-sql-reques...