MLDZMNMessi8
Updated 2022-12-23
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
›
⌄
with tb1 as (select
distinct BUYER_ADDRESS as sender,
count(tx_hash) as no_transaction
from ethereum.core.ez_nft_sales
where NFT_ADDRESS in (lower('0x3b6AfB8bdA297309738167B1711b69484c7c7eCA'), '0x3df25f701c97f8f95590c8dd7b0ce34d61e3b590')
and price_usd>0
group by 1)
select
case
when no_transaction=1 then 'One time purchaser'
when no_transaction>1 and no_transaction <5 then '1-5 times purchaser'
when no_transaction>5 then 'More than 5 times purchaser'
end as gp,
count(distinct sender)
from tb1
group by 1 having gp is not null
Run a query to Download Data