Query editor
1WITH borrow_counts AS (2 SELECT3 user AS initiator,4 COUNT(*) AS borrow_count5 FROM aave_v3_arbitrum.L2Pool_evt_Borrow6 GROUP BY user7)8SELECT9 initiator,10 borrow_count11FROM borrow_counts12ORDER BY borrow_count DESC13LIMIT 1000
WITH borrow_counts AS (
SELECT
user AS initiator,
COUNT(*) AS borrow_count
FROM aave_v3_arbitrum.L2Pool_evt_Borrow
GROUP BY user
)
initiator,
borrow_count
FROM borrow_counts
ORDER BY borrow_count DESC
LIMIT 1000