sakineh5021-nIQRzBThe Meme's game ( ultimate 1 )
Updated 2022-03-19
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
›
⌄
with shiba as ( SELECT cast(block_timestamp as date) as date_swap , sum(amount_usd) as shiba_amount
from ethereum.dex_swaps
where token_address = '0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce'
group by 1
) ,
safe as ( SELECT cast(block_timestamp as date) as date_swap , sum(amount_usd) as safe_amount
from ethereum.dex_swaps
where token_address = '0xcd7492db29e2ab436e819b249452ee1bbdf52214'
group by 1 )
,
dog as ( SELECT cast(block_timestamp as date) as date_swap , sum(amount_usd) as dog_amount
from ethereum.dex_swaps
where token_address = '0xbb1ee07d6c7baeb702949904080eb61f5d5e7732'
group by 1 )
SELECT S.date_swap , shiba_amount as shiba , dog_amount as DINU , safe_amount as SMI
from dog D , shiba S , safe f
where S.date_swap = D.date_swap
and S.date_swap = f.date_swap
Run a query to Download Data