extract(… from <datetime>)

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite200520072009201120132015201720192021⊘ 3.5.7 - 3.43.0⊘ 2008R2 - 2022✓ 14 - 16c✓ 8.3 - 13c✓ 11gR1 - 21c⚠ 5.6 - 8.0.34bd⚠ 5.0 - 5.5ab⚠ 5.3 - 10.11bd⚠ 5.1 - 5.2ab⚠ 9.7 - 11.5.8a⚠ 2.0ab
  1. No time zone fields
  2. SECOND does not include fractions
  3. Returns approximate numeric type
  4. SECOND does not include fractions. Use SECOND_MICROSECOND