📅  最后修改于: 2022-03-11 15:04:55.529000             🧑  作者: Mango
WITH myconstants (var1, var2) as (
values (5, 'foo')
)
SELECT *
FROM somewhere, myconstants
WHERE something = var1
OR something_else = var2;