MLDZMNpc2
Updated 2023-09-01
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
›
⌄
with tb1 as (select
distinct BUYER_ADDRESS as sender,
count(tx_hash) as no_transaction
from ethereum.core.ez_nft_sales
where NFT_ADDRESS='0x790b2cf29ed4f310bf7641f013c65d4560d28371'
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