Query editor
with cohort as (select distinct wallet from dune.crypto_edgar.result_fomo_sol_net_2026_08),recv as (select to_owner as wallet, min(block_time) as first_recv, count(*) as recv_legsfrom tokens_solana.transferswhere block_date between date '2026-08-07' and date '2026-08-11'and token_mint_address = 'GtFes6RujgpYAXy44DwZMYXheRtGFymHb19WS2wmpump'and to_owner is not nullgroup by 1),sol7 as (select to_owner as wallet,sum(amount_display) as sol_in_aug7,count(*) as sol_legs,min(block_time) as first_sol,max(amount_display) as largest_singlefrom tokens_solana.transferswhere block_date = date '2026-08-07'and token_mint_address = 'So11111111111111111111111111111111111111111'group by 1)select r.wallet, r.first_recv, r.recv_legs,s.sol_in_aug7, s.sol_legs, s.first_sol, s.largest_singlefrom recv rjoin cohort c on c.wallet = r.walletleft join sol7 s on s.wallet = r.walletorder by (s.wallet is not null) desc, r.first_recvlimit 60