Forefront TakDefillama-Revenue
Updated 2024-02-26
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
›
⌄
with
b as (
select
date,
protocol,
sum(fees) over (partition by protocol order by date) as "Total Fees",
sum(revenue) over (partition by protocol order by date) as "Total Revenue"
from external.defillama.fact_protocol_fees_revenue
where protocol = 'Near'
)
select * from b
order by 1 desc
QueryRunArchived: QueryRun has been archived