isoweek

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