Query editor
SELECTDATE_TRUNC('month', date(block_date)) AS period,mev_type,SUM(profit) AS monthly_mev_bot_profitFROMdune.jackeyyi.dataset_bnb_mevWHEREblock_date >= '{{start_time}}' ANDblock_date < '{{end_time}}'GROUP BY1,2ORDER BY1,2
Query editor
1SELECT2DATE_TRUNC('month', date(block_date)) AS period,3mev_type,4SUM(profit) AS monthly_mev_bot_profit5FROM6dune.jackeyyi.dataset_bnb_mev7WHERE8block_date >= '{{start_time}}' AND9block_date < '{{end_time}}'10GROUP BY111,212ORDER BY131,2