I am hoping you can help with this question. I am using Oracle SQL (SQL Developer for this view)...
If I have a table with the following columns:
In Sql Server
You can do this using cross apply
cross apply
Select ColumnA, ColumnB, c.calccolumn1 As calccolumn1, c.calccolumn1 / ColumnC As calccolumn2 from t42 cross apply (select (ColumnA + ColumnB) as calccolumn1) as c