Query editor
selectdate_format(date_trunc('month', dt), '%Y-%m') as dt, token_symbol, sum(tw_reward_usd) as tw_reward_usdfrom dune.sparkdotfi.spark_xr_ar_rewards_daily_eoh bwhere referral_type = 'Spark referrals'and dt >= date '2026-04-01' and dt <= date '2026-06-30'group by1, 2order by1 desc, 2 asc