Query editor
SELECTbuyer,COUNT(*) AS total_transactionsFROM (SELECT buyer FROM archipelago_ethereum.eventsUNION ALLSELECT buyer FROM archipelago_ethereum.trades) AS combined_dataGROUP BYbuyerORDER BYtotal_transactions DESC;
Query editor
1SELECT2buyer,3COUNT(*) AS total_transactions4FROM (5SELECT buyer FROM archipelago_ethereum.events6UNION ALL7SELECT buyer FROM archipelago_ethereum.trades8) AS combined_data9GROUP BY10buyer11ORDER BY12total_transactions DESC;13