My question is on the usage of Substitute variable in SQL Developer.
select &C1, &C2 from X where &C1 = 'abc123' and &C2 = 9999;
I wanted the above statement to ask for my inputs on C1 and C2 only ONCE and substitute values for it 2 times. But it asks me 4 times C1, C2 and again C1 and C2.
Also, I can't really understand the difference between & and &&. what if I also have &C3, &C4...etc.
Thanks