nth_value

BigQueryDb2 (LUW)DuckDBH2MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite200820102012201420162018202020222024⚠ 3.25.0 - 3.51.0ab⊘ 3.5.7 - 3.23.1⊘ 2008R2 - 2025⚠ 8.4 - 18ab⊘ 8.3✓ 11gR2 - 23.26.0⊘ 11gR1⚠ 8.0.11 - 9.5.0ab⊘ 5.0 - 5.7⚠ 10.2 - 12.1.2ab⊘ 5.1 - 10.1✓ 1.4.198 - 2.4.240⊘ 1.4.191 - 1.4.197⚠ 1.0.0 - 1.4.0bc✓ 11.1 - 12.1.2⊘ 9.7 - 10.5⚠ 2.0bc
  1. No ignore nulls
  2. No from last
  3. Proprietary nulls treatment: nth_value(<expr>, <off> IGNORE NULLS) (no comma)