i tried to query use variable in PostgreSQL, but still didn't work as well how to declaring a variable (call variable in select) and using like this
SET @type:="AAA";
SELECT name,email,@type type from users
i tried to query use variable in PostgreSQL, but still didn't work as well how to declaring a variable (call variable in select) and using like this
SET @type:="AAA";
SELECT name,email,@type type from users