Here's another type of solution that I think deserves a mention, and that I personally find more readable than the currently mentioned ones. The technique is slightly different as it doesn't rely on generate_series.
Granted, both the prose and the SQL query look a bit different than the rest of the page. Feel free to rewrite or give me pointers on how best to improve this PR.
Here's another type of solution that I think deserves a mention, and that I personally find more readable than the currently mentioned ones. The technique is slightly different as it doesn't rely on
generate_series
.Granted, both the prose and the SQL query look a bit different than the rest of the page. Feel free to rewrite or give me pointers on how best to improve this PR.