Query editor
withtotal_r as (selectgauge,total_rewardsfrom query_4839822),total_b as(selectpoolName,sum(bribe_value) as total_bribefrom query_4808931where voter in ('veUSD', 'veUSD_old')group by 1)selectt1.gauge,t1.total_rewards / t2.total_bribe as Efficiencyfrom total_r t1left join total_b t2 on t1.gauge = t2.poolName