Query editor
withreward_calculation as (SELECTCONCAT(reward_type, ' (', pool_type, ')') reward_type,ROUND(SUM(user_reward), 2) user_reward,ROUND(SUM(operator_reward), 2) operator_reward,ROUND(SUM(stader_reward), 2) stader_rewardFROM(SELECTreward_type,pool_type,stader_reward stader_reward,operator_reward operator_reward,user_reward user_rewardFROMquery_3327113UNIONSELECTreward_type,pool_type,stader_reward stader_reward,operator_reward operator_reward,user_reward user_rewardFROMquery_3488635UNIONSELECTreward_type,pool_type,stader_reward stader_reward,operator_reward operator_reward,user_reward user_rewardFROMquery_3488560) AGROUP BY1),eth_latest_price as (SELECTsymbol,priceFROMprices.usd_latestWHEREsymbol = 'ETH'and blockchain is nulland contract_address is null)SELECTA.*,A.user_reward * B.price user_reward_usd,A.operator_reward * B.price operator_reward_usd,A.stader_reward * B.price stader_rev_usdFROMreward_calculation ALEFT JOIN eth_latest_price B ON 1 = 1