bachinba playoff2
Updated 2022-07-12Copy Reference Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
›
⌄
SELECT Date(a.block_timestamp) AS day,
b.team AS team,
Count(DISTINCT a.tx_id) AS no_of_nfts_sold,
Count(DISTINCT a.buyer) AS no_of_wallets,
Sum(a.price) AS total_volume
FROM flow.core.fact_nft_sales a
JOIN flow.core.dim_topshot_metadata b
ON a.nft_id = b.nft_id
AND a.nft_collection = b.nft_collection
WHERE a.marketplace IN ( 'A.c1e4f4f4c4257510.Market',
'A.c1e4f4f4c4257510.TopShotMarketV3' )
AND a.nft_collection = 'A.0b2a3299cc857e29.TopShot'
AND a.tx_succeeded = 'TRUE'
AND a.block_timestamp >= '2022-05-07'
AND a.block_timestamp <= '2022-06-09'
AND b.team IN ( 'Dallas Mavericks', 'Boston Celtics',
'Golden State Warriors',
'Miami Heat' )
GROUP BY day,
team
ORDER BY day DESC
Run a query to Download Data