Link to home
Start Free TrialLog in
Avatar of Zolf
ZolfFlag for United Arab Emirates

asked on

Add two select columns and show them as another select column

Hi there,

I have a select statement and I want to add to sum of of the columns and show the result as another column.
for e.g.
select
   st_com_frm_sup_qty,
   st_mfg_frm_sup_qty,
   (st_com_frm_sup_qty+st_mfg_frm_sup_qty) as sum_from_sup_to_com_and_mfg
from

Open in new window

But the issue I have is if any on the first 2 value is NULL the result of the third col is NULL
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial