Query editor
SELECTSUM(gas_cost) as eth,monthFROM(SELECTgas_price / POWER(10,18) * gas_used AS gas_cost,type,DATE_FORMAT(block_time, '%Y-%m') as monthFROMethereum.transactions)GROUP BY month
Query editor
1SELECT2SUM(gas_cost) as eth,3month4FROM(5SELECT6gas_price / POWER(10,18) * gas_used AS gas_cost,7type,8DATE_FORMAT(block_time, '%Y-%m') as month9FROM10ethereum.transactions11)12GROUP BY month