I'm new to programming and I was wonder how I would declare a variable I can use through out my code.
What I want to achieve is :
Myvariable = (select Column from table1 where column =1234 group by column);
select column from table2 where column in (myvariable);
select column from table3 where column in (myvariable);
and etc
Thanks in advance :)