Query editor
with overall as(selectt1.total_pack_purchased, t1.total_pack_purchased_volume, t1.total_revenue pack_revenue_after_buyback, t2.total_trades, t2.total_vol total_trade_vol, t2.protocol_fee_incomefromdune.renaissprotocol_team.result_pack_summary t1left joindune.renaissprotocol_team.result_trade_summary t2 on 1=1)select *, (total_pack_purchased+total_trades) total_txns, (total_pack_purchased_volume + protocol_fee_income) total_revenue from overall