LEAD und LAG

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite200520072009201120132015201720192021⚠ 3.25.0 - 3.41.0b⊘ 3.5.7 - 3.23.1✓ 2022+b⚠ 2019⚠ 8.4 - 15b⊘ 8.3✓ 19c+⚠ 8.0.11 - 8.0.32ae⊘ 5.0 - 5.7⚠ 10.2 - 10.11bd⊘ 5.1 - 10.1⚠ 11.5.0 - 11.5.8⚠ 2.0a⚠ 2.0d⚠ 2.0abd
  1. Keine negativen Offset-Werte
  2. Kein respect|ignore nulls
  3. Proprietäre Null-Behandlung: lead(<expr>, 'IGNORE NULLS') (ein String-Argument)
  4. Kein Default-Wert möglich (kein drittes Argument)
  5. Kein ignore nulls