Query editor
SELECTDATE_TRUNC('day', block_time) AS day,COUNT(DISTINCT borrower) AS active_borrowers,COUNT(*) AS total_transactions,SUM(amount_usd) AS total_borrow_usd,SUM(amount_usd) / COUNT(DISTINCT borrower) AS avg_borrow_per_user_usdFROM aave.borrowWHERE blockchain = 'ethereum'AND block_time >= NOW() - INTERVAL '90' DAYAND amount_usd > 0GROUP BY 1ORDER BY 1 DESC