Query editor
selectcase when num_trades = 1 then 'single order'else '> 1 trade'end as single_order_batches,count(*) num_batchesfrom gnosis_protocol_v2."batches"where block_time >= '2022-03-01'group by single_order_batches
Query editor
1select2case when num_trades = 1 then 'single order'3else '> 1 trade'4end as single_order_batches,5count(*) num_batches6from gnosis_protocol_v2."batches"7where block_time >= '2022-03-01'8group by single_order_batches