Query editor
SELECTquest_name,CASEWHEN quest_name LIKE '%Balancer%'OR quest_name LIKE '%balancer%' THEN 'Balancer'WHEN quest_name LIKE '%Camelot%'OR quest_name LIKE '%camelot%' THEN 'Camelot'WHEN quest_name LIKE '%Connext%'OR quest_name LIKE '%connext%' THEN 'Connext'WHEN quest_name LIKE '%GMX%'OR quest_name LIKE '%gmx%' THEN 'GMX'WHEN quest_name LIKE '%handle.fi%'OR quest_id = '646418a6-d097-49c4-bd77-c83fbcf3612b' THEN 'handle.fi'WHEN quest_name LIKE '%Mux%'OR quest_name = 'mux' THEN 'Mux'WHEN quest_name LIKE '%Pendle%'OR quest_name LIKE '%pendle%' THEN 'Pendle'WHEN quest_name LIKE '%Quest%'OR quest_name LIKE '%quest%' THEN 'Quest Protocol'WHEN quest_name LIKE '%Sushiswap%'OR quest_name LIKE '%sushiswap%' THEN 'Sushiswap'WHEN quest_name LIKE '%Symbiosis%'OR quest_name LIKE '%symbiosis%' THEN 'Symbiosis'WHEN quest_name LIKE '%Tally%'OR quest_name LIKE '%tally%' THEN 'Tally'WHEN quest_name LIKE '%Trader Joe%'OR quest_name LIKE '%trader joe%' THEN 'Trader Joe'WHEN quest_name LIKE '%Magicswap%'OR quest_name LIKE '%Treasure%' THEN 'Treasure DAO'WHEN quest_name LIKE '%Vela%'OR quest_name LIKE '%vela%' THEN 'Vela'WHEN quest_name LIKE '%Woofi%'OR quest_name LIKE '%woofi%' THEN 'Woofi'WHEN quest_name LIKE '%Zora%'OR quest_name LIKE '%zora%' THEN 'Zora'ELSE project_nameEND AS project_name,quest_id,CONCAT('<a href="https://manager.boost.xyz/boosts/',cast(quest_id as varchar),'" target="_blank" >',quest_id,'</a>') AS quest_id_link,start_time,end_time,totalParticipants AS total_claims_allowed,reward_amount AS reward_per_claim_arb,COUNT(DISTINCT quest_participant) AS unique_questors,COUNT(claim_tx_hash) AS num_claims,SUM(claim_fee_eth) AS total_claim_fees_eth,SUM(claim_fee_usd) AS total_claim_fees_usd,SUM(claim_tx_fee) AS total_claim_tx_fees_eth,SUM(claim_tx_fee_usd) AS total_claim_tx_fees_usd,SUM(action_tx_fee) AS total_action_tx_fees_eth,SUM(action_tx_fee_usd) AS total_action_tx_fees_usd,SUM(COALESCE(action_tx_fee, 0) + COALESCE(claim_tx_fee, 0)) AS total_network_fees_eth,