Query editor
selecta.dt,amount,pricefrom (selectdate_trunc('day', evt_block_time) as dt,sum(usd_amount) as amountfrom aave_ethereum.borrowwhere transaction_type = 'borrow'and symbol in ('USDT', 'USDC', 'DAI')group by 1) ajoin(selectdate_trunc('day', minute) as dt,avg(price) as pricefrom prices.usdwhere contract_address = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2group by 1) b on a.dt = b.dtwhere a.dt >= now() - interval '2' month