Query editor
select type,--sum(case when in_out = 'in' then value_eth else 0 end) as total_eth_insum(if(in_out = 'out', value_eth, 0)) as total_eth_outfrom query_3280078where type in ('fork', 'swap', 'other', 'proposal')group by 1
Query editor
1select type,2--sum(case when in_out = 'in' then value_eth else 0 end) as total_eth_in3sum(if(in_out = 'out', value_eth, 0)) as total_eth_out4from query_32800785where type in ('fork', 'swap', 'other', 'proposal')6group by 1