With t as (values …)

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite200520072009201120132015201720192021⚠ 3.8.3 - 3.40.0a⊘ 3.5.7 - 3.7.11⊘ 2008R2 - 2022⚠ 8.4 - 15a⊘ 8.3⊘ 11gR1 - 21c⚠ 8.0.19 - 8.0.31c⊘ 5.0 - 8.0.18⚠ 10.3 - 10.10a⊘ 5.1 - 10.2⚠ 9.7 - 11.5.7ab⊘ 2.0
  1. Only without keyword row
  2. Requires column names in with clause
  3. Requires keyword row: values row('r1c1','r1c2'), row('r2c1', 'r2c2')