database-behavior

1 article
sort: new top best
clear filter
0 6/10

An analysis of SQL order-equivalence in window functions across major database systems, examining whether identical ORDER BY clauses in window functions guarantee consistent row ordering for peer rows. The article reveals that while the SQL standard requires order-equivalent clauses to produce deterministic peer ordering, several database systems violate this guarantee, and proposes solutions for achieving consistent results.

BigQuery Db2 DuckDB H2 MariaDB MySQL Oracle DB PostgreSQL SQL Server SQLite Markus Winand
modern-sql.com · chmaynard · 3 days ago · details · hn