select date_trunc('day',date) as day,
sum(balance) as circ_supply
from terra.daily_balances
where currency = 'LUNA'
AND address != 'terra1fl48vsnmsdzcv85q5d2q4z5ajdha8yu3nln0mh'
and balance > 0
and date >= current_date - 90
and address_label_subtype is null
group by 1
order by 2 desc