Probably the Coolest SQL Feature: Window Functions (blog.jooq.org)