mrwildcat[16] MDAO 101: GROUP BY
Updated 2022-08-09
99
1
2
3
4
5
6
7
8
9
10
11
12
›
⌄
-- MetricsDAO Blockchain Analytics 101
-- https://docs.metricsdao.xyz/analyst-resources/blockchain-data-101
SELECT
currency_symbol,
SUM(platform_fee) AS total_platform_fee,
SUM(platform_fee_usd) AS total_platform_fees_usd
FROM ethereum.core.ez_nft_sales
WHERE block_timestamp::DATE BETWEEN '2022-06-01' AND '2022-06-30'
AND platform_name = 'opensea'
GROUP BY 1
ORDER BY 1 DESC;
Run a query to Download Data