Declare variable in redshift. Not an exact answer but in DBeaver, you can set up variables to use in your local queries in the ...