I want to calculate a column for a query as a function of table columns, say:
Select ColA*ColB*ColC as ColMultiple from tblCustomer....
Now, I'd like to calculate another column as a function of the first calculated column, say:
Select ColD/ColMultiple as ColAverage from tblCustomer....
Must I repeat the calculation of 'ColMultiple' each time I want to use that result, or is there a way to refer to the newly-calculated colum, say:
Select ColA*ColB*ColC as ColMultiple, ColD/ColMultiple as ColAverage from tblCustomer....
I know that doesn't work... is there a way to do it?