isoweek

BigQueryDb2 (LUW)DuckDBH2MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite201620182020202220242.0b2.0a
  1. ISO 8601 week date (year’s first Thursday)
  2. Use extract(isoyear) for the corresponding year