extract(… from <datetime>)

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite2005200720092011201320152017201920212023⊘ 3.5.7 - 3.50.0⊘ 2008R2 - 2022✓ 14 - 18a✓ 8.3 - 13a✓ 11gR1 - 23.26.0⚠ 5.6 - 9.5.0c⚠ 5.0 - 5.5⚠ 5.3 - 12.0.2c⚠ 5.1 - 5.2⚠ 9.7 - 12.1.2b⚠ 2.0
  1. Returns approximate numeric type
  2. No time zone fields
  3. No time zone fields. SECOND does not include fractions. Use SECOND_MICROSECOND