Query editor
WITH user_stakes AS (SELECT DISTINCTuser,SUM(amount) AS total_stakedFROM query_4234820WHEREblockchain = 'Arbitrum'GROUP BY1)SELECTROW_NUMBER() OVER (ORDER BY total_staked DESC) AS ranking,user,'Arbitrum' AS blockchain,total_staked,total_staked * 1.02 AS total_staked_usd,COUNT(*) OVER () AS total_userFROM user_stakesORDER BYtotal_staked DESC