Windowing Functions for Database Analytics
summary
Demos windowing functions available in mysql and other relational databases that make per-group analytics feasible inside SQL, including partition by department_id and date-range partitioning for year-to-date calculations. Shows concrete functions used (row_number, rank, lag, lead, sum over) to build running totals and moving averages, explains minimal statistics needed, and proves these queries run directly in the database without external aggregation tools.
AI-written summary · about
related talks
01h 06mPostgres Window Magic
51mUnderstanding window functions in DAX
34mCommon Table Expressions and Window Functions simple, maintainable, fast queries
44mBeyond WHERE and GROUP BY
33mMaking Data Dance
46mT-SQL Window Function Performance
49mModern T SQL for Better Performance
01h 00mComplex Queries with Modern SQL
