Query editor
with totalrewards as (select "Month" as month ,sum("Rewards [USD]") as rewards,sum("Rewards [FLR]") as flr,'Delegate Rewards' as labelfrom query_4428646 -- delegate rewardsgroup by 1,4union allselect month, "Rewards [USD]" as rewards,"Rewards [FLR]" as flr,'Staking Rewards' as labelfrom query_4413922 -- staking rewardsunion allselect month, "Flaredrop [USD]" as rewards,"Flaredrop [FLR]" as flr,'FlareDrop' as labelfrom query_4414273 -- flaredropunion allselect month,"Inflation Amount [USD]" as rewards,"Inflation Amount [FLR]" as flr,'Inflation' as labelfrom query_4421491 -- inflationunion allselect month,"Emission Amount [USD]" as rewards,"Emission Amount [FLR]" as flr,'Emission' as labelfrom query_4430513 -- emssioin)selectmonth,rewards,flr,sum(rewards) over (order by month) as total_rewards,sum(flr) over (order by month) as total_flr,labelfrom totalrewardsorder by 1 desc