Query editor
WITH eth_supplies AS (SELECT user, evt_block_time, evt_block_number, reserve, amount, 'WETH' token, 'supply' AS actionFROM aave_v3_ethereum.Pool_evt_SupplyWHERE reserve = 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 -- WETH address),usdc_borrows AS (SELECT user, evt_block_time, evt_block_number, reserve, amount, 'USDC' token, 'borrow' AS actionFROM aave_v3_ethereum.Pool_evt_BorrowWHERE reserve = 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 -- USDC address)select *from(SELECT *FROM eth_suppliesUNION ALLSELECT *FROM usdc_borrows)order by 1, 2 desc