The Database Doctor
Musing about Databases

Tag: window-aggregates

Cover image for LAST_VALUE and FIRST_VALUE Window Aggregate tricks
LAST_VALUE and FIRST_VALUE Window Aggregate tricks

When writing code for analytical databases, there comes a point where you learn that window aggregates often allow you to express complex joins in new ways. Sometimes, they even allow...