Comment Comment by cribwi If you're running PostgreSQL, you can use the built-in generate_series (1) function like: SELECT id, random() FROM generate_series(0, 1000000) g (id); There seems to be an equivalent in SQLite: https://sqlite.org/series.html[1] https://www.postgresql.org/docs/current/functions-srf.html parent cribwi 5 years ago
[1] https://www.postgresql.org/docs/current/functions-srf.html