With t as (values …)
BigQuery
Db2 (LUW)
MariaDB
MySQL
Oracle DB
PostgreSQL
SQL Server
SQLite
2008
2010
2012
2014
2016
2018
2020
2022
2024
⚠ 3.8.3 - 3.50.0
a
⊘ 3.5.7 - 3.7.11
⊘ 2008R2 - 2022
⚠ 8.4 - 18
a
⊘ 8.3
⚠ 23.0 - 23.26.0
a
b
⊘ 11gR1 - 21c
⚠ 8.0.19 - 9.5.0
c
⊘ 5.0 - 8.0.18
⚠ 10.3 - 12.0.2
a
⊘ 5.1 - 10.2
⚠ 9.7 - 12.1.2
a
b
⊘ 2.0
Only without keyword
row
Requires column names in
with
clause
Requires keyword
row
:
values row('r1c1','r1c2'), row('r2c1', 'r2c2')