Answers for "postgres how to access to variable"

SQL
0

postgres declare variable

WITH myconstants (var1, var2) as (
   values (5, 'foo')
)
SELECT *
FROM somewhere, myconstants
WHERE something = var1
   OR something_else = var2;
Posted by: Guest on April-06-2020

Code answers related to "postgres how to access to variable"

Code answers related to "SQL"

Browse Popular Code Answers by Language