0

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
a_horse_with_no_name
  • 497,550
  • 91
  • 775
  • 843

0 Answers0