penfold1992
Registered User.
- Local time
- Today, 10:29
- Joined
- Nov 22, 2012
- Messages
- 169
hello again 
I have two calculated columns in my query
for example...
table.num1 - table.num2 as "Col1"
and
table.num1 - table.num3 as "Col2"
I then want another column equal to:
Col1 - Col2
I know that I could say:
(table.num1 - table.num2) - (table.num1 - table.num3)
but I am wondering if there is an easy way to just take two calculated columns of the query to use in the calculation of another column.
doing something like:
Col3: Col1 - Col2
doesnt work because it doesnt see Col1 and Col2 within the tables.
Is this possible?
Kind Regards,
Penfold

I have two calculated columns in my query
for example...
table.num1 - table.num2 as "Col1"
and
table.num1 - table.num3 as "Col2"
I then want another column equal to:
Col1 - Col2
I know that I could say:
(table.num1 - table.num2) - (table.num1 - table.num3)
but I am wondering if there is an easy way to just take two calculated columns of the query to use in the calculation of another column.
doing something like:
Col3: Col1 - Col2
doesnt work because it doesnt see Col1 and Col2 within the tables.
Is this possible?
Kind Regards,
Penfold