How do I enter a substitution variable such that it can be used multiple times throughout a SQL statement?
For example
SELECT '&X','&X',A <--SEES X AS TWO DIFFERENT VARIABLES
FROM T;
Sees each X as a different variable. How can I make it such that X is only one variable?
select x, x, a from t, (select '&X' as x from dual)