Mager-MUntitled Query
Updated 2022-04-17
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
›
⌄
SELECT
DATE_TRUNC('day', block_timestamp) AS date,
label AS exchange_name,
SUM(amount) AS volume
FROM algorand.labels
LEFT JOIN algorand.payment_transaction
ON address = sender
WHERE date >= '2021-01-01'
AND label_type = 'cex'
AND label NOT LIKE 'group%'
GROUP BY label, date
ORDER BY date