Query editor
with list1 as (select distinct taker as walletfrom dex.tradeswhere blockchain = 'bnb'and token_bought_address = 0xF4C8E32EaDEC4BFe97E0F595AdD0f4450a863a11 --edeand (block_date <= cast('2023-03-09' as timestamp) and block_date >= cast('2023-03-01' as timestamp))),list2 as (select distinct taker as walletfrom dex.tradeswhere blockchain = 'arbitrum'and token_bought_address = 0x51318B7D00db7ACc4026C88c3952B66278B6A67F --gammaand (block_date <= cast('2023-03-09' as timestamp) and block_date >= cast('2023-03-01' as timestamp)))select *from list1left join list2 on list1.wallet = list2.walletwhere list2.wallet is not null