By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
with t as (
select 0 as v0, 1 as v1 from dual
union all select 3 as v0, 2 as v1 from dual
)
select sum(v0 + v1)
from t
where v0 > 1 and v1 > 1
;
SUM(V0+V1) |
---|
5 |