Query editor
select date_trunc('month', t.block_time) as month_at,case when pmm in ('Wintermute PMM', 'SCP PMM', '1inch Labs PMM', 'Tokka Labs PMM','Flow Traders PMM', 'Kekpool PMM', 'Kyber PMM','0x442a03356d0203756e10c8838d9bcf571863a9a1', 'Alpha Lab PMM','The T PMM', 'Arctic Bastion PMM', 'CCC Prod PMM', 'Seawise PMM') then pmm else 'Others' end as pmm,sum(amount_usd) as volumefrom dune.flashbots.result_overall_lq_alltime as twhere t.metaaggregator in ('Cowswap', '1inch Fusion', 'Uniswap X') and pmm is not nulland cast('2023-01-01' as timestamp) < block_time--and block_time < cast('2024-06-01' as timestamp)group by 1,2order by 3 desc