yasmin-n-d-r-hafter op nft merry
Updated 2023-01-14
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with price as (
select
date(hour) as p_date,
symbol,
avg(price) as prices
from
optimism.core.fact_hourly_token_prices
where
symbol in (
select
CURRENCY_SYMBOL
from
optimism.core.ez_nft_sales
where
PLATFORM_NAME = 'quixotic'
)
and hour :: date between '2022-12-31' and '2023-01-15'
group by
1,
2
UNION
select
date(hour) as p_date,
'ETH' as symbol,
avg(price) as prices
from
ethereum.core.fact_hourly_token_prices
where
symbol = 'WETH'
and hour :: date between '2022-12-31' and '2023-01-15'
group by
1,
2
),
price_usd as (
select
Run a query to Download Data