Query editor
SELECTmonth,approx_percentile( gas_price/POWER(10,9), 0.5) as med_gas_priceFROM (SELECTgas_price,DATE_FORMAT(block_time, '%Y-%m') as monthFROMethereum.transactions) as gp_monthGROUP BYmonthORDER BY month DESCLIMIT 1
Query editor
1SELECT2month,3approx_percentile( gas_price/POWER(10,9), 0.5) as med_gas_price4FROM (SELECT5gas_price,6DATE_FORMAT(block_time, '%Y-%m') as month7FROM8ethereum.transactions9) as gp_month10GROUP BY11month12ORDER BY month DESC13LIMIT 114