with main as(SELECT
project_name,
amount/power(10, 6) as fee
from osmosis.core.fact_transfers
left outer join osmosis.core.dim_labels on address = currency
where receiver in ('mars17xpfvakm2amg962yls6f84z3kell8c5ldy6e7x','mars1s4hgh56can3e33e0zqpnjxh0t5wdf7u3pze575'))
select
project_name,
sum(fee) as tot_fee
from main
group by 1