Pues el SQL local me parece que no cuenta con Coalesce o equivalente. Si ha de hacerse con SQL podrías intentar algo como
Código SQL
[-]
select a,b,a+b
from tabla
where a is not null and b is not null
union all
select a,b,b
from tabla
where a is null and b is not null
union all
select a,b,a
from tabla
where a is not null and b is null
union all
select a,b,0
from tabla
where a is null and b is null
aunque lo veo bastante chapucero.
Podrías intentarlo del lado del cliente agregando un campo calculado al Table que uses, por ejemplo:
Código Delphi
[-]
procedure TForm1.Table1CalcFields(DataSet: TDataSet);
begin
DataSet['suma'] :=
DataSet.FieldByName('a').AsInteger +
DataSet.FieldByName('b').AsInteger;
end;
// Saludos