Hi,
Here is sql type of query I'm trying to execute:
SELECT a=3,b=4,c=a+b
However, it does not let me do it, because I'm trying to use variebles "a" and "b" in calculating "c".
Any suggestions, why it does not let me do it?
P.S. In my real query "a" and "b" are calculated using complicated subqueries, so I don't want to repeat those subqueries in calculating "c".
Thanks,
Alex
Here is sql type of query I'm trying to execute:
SELECT a=3,b=4,c=a+b
However, it does not let me do it, because I'm trying to use variebles "a" and "b" in calculating "c".
Any suggestions, why it does not let me do it?
P.S. In my real query "a" and "b" are calculated using complicated subqueries, so I don't want to repeat those subqueries in calculating "c".
Thanks,
Alex