with data1 as (
SELECT date(block_timestamp),from_label,count(tx_id) as TRANSACTIONs,sum(amount_usd) as volume,count(from_address) as users from ethereum.udm_events where to_label_type='dex' and from_label in ('sushiswap','uniswap')
GROUP by 1,2)
SELECT * from data1
LIMIT 1000