AlisdairO / pgexercises

PostgreSQL Exercises web site code
Other
400 stars 62 forks source link

Add another type of rolling average solution #42

Closed dancek closed 8 months ago

dancek commented 6 years ago

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.

dancek commented 8 months ago

Closing as obsolete.