Query editor
select type,sum(if(in_out = 'in', value_eth, 0)) as total_eth_in--sum(case when in_out = 'out' then value_eth else 0 end) as total_eth_outfrom query_3280078where type in ('Foodnoun(bonus)', 'auction', 'other', 'proposal', 'refund')group by 1