Query editor
SELECTDATE_TRUNC('month', date(block_date)) AS period,mev_type,SUM(mev_bot_profit) AS monthly_mev_bot_profitFROMdune.jackeyyi.dataset_eth_mevWHEREblock_date >= '{{start_time}}' ANDblock_date < '{{end_time}}'GROUP BY1,2ORDER BY1,2