SQLServerCentral » Latest topics
How to Calculate Difference between 2 queries Columns in union ALL
Hello Good Afternoon,
Can you please help me with below query how to get the another column in the output as (First_Bal - S_Balance) ?
[code language="sql"]
SELECT
COL1, Col2, Col3, First_Bal, First_Qty, S_Balance
--- New Co
Can you please help me with below query how to get the another column in the output as (First_Bal - S_Balance) ?
[code language="sql"]
SELECT
COL1, Col2, Col3, First_Bal, First_Qty, S_Balance
--- New Co
No comments:
Post a Comment