Query editor
WITH botTrades AS (SELECT DISTINCTuser AS userAddressFROMquery_2640849WHEREisLastTradeInTransaction = true)SELECTae.first_funded_by,COUNT(DISTINCT ae.address) AS count,cex.distinct_name,cex.cex_nameFROM addresses_events.first_funded_by AS aeJOIN botTrades AS btON ae.address = bt.userAddressLEFT JOIN addresses_ethereum.cex AS cexON ae.first_funded_by = cex.addressWHEREae.blockchain = 'ethereum'GROUP BYae.first_funded_by,cex.distinct_name,cex.cex_name;