select
date_trunc('month', block_timestamp) as time,
symbol,
count(*) as frequency,
sum(amount_usd) as volume
from flipside_prod_db.crosschain.ez_lending
where platform = 'sushi'
and blockchain = 'ethereum'
and symbol in ('USDC', 'USDT', 'TUSD', 'SUSD', 'DAI')
group by 1, 2