Query editor
SELECTmonth,'Arbitrum' as chain,symbol,SUM(txs_count) AS txs_count,SUM(total_spent_usd) AS total_spent_usd,SUM(total_fees_usd) AS total_fees_usdFROMquery_3205994GROUP BY1,2,3UNION ALLSELECTmonth,'Avalanche' as chain,symbol,SUM(txs_count) AS txs_count,SUM(total_spent_usd) AS total_spent_usd,SUM(total_fees_usd) AS total_fees_usdFROMquery_3208337GROUP BY1,2,3UNION ALLSELECTmonth,'BSC' as chain,symbol,SUM(txs_count) AS txs_count,SUM(total_spent_usd) AS total_spent_usd,SUM(total_fees_usd) AS total_fees_usdFROMquery_3209649GROUP BY1,2,3UNION ALLSELECTbridge.month,'Ethereum' as chain,bridge.symbol,SUM(txs_count) AS txs_count,SUM(total_spent_usd) AS total_spent_usd,SUM(total_fees_usd + COALESCE(protocol_fee_usd, 0)) AS total_fees_usdFROMquery_3199332 bridgeLEFT JOIN query_3212502 pools ON (bridge.month = pools.monthand bridge.symbol = pools.symbol)GROUP BY1,2,3