select
date,
protocol,
chain,
monthname(date) as month,
chain_tvl as TVL
from external.defillama.fact_protocol_tvl
where chain = 'Aptos'
and category = 'Dexes'
and protocol = 'Cellana Finance' or protocol = 'ThalaSwap'
qualify row_number() over(partition by protocol order by date desc) = 1
order by tvl desc