select avg(nvl(a,0) + nvl(b,0) ) from tt