Query editor
-- Modest Collector Activity Status Breakdown (Staging)-- Reads directly from staging leaderboard query_9209524 (sub-second, minimal credits).with totals as (select cast(count(*) as double) as total_collectorsfrom query_9209524)selectl.activity_status,count(*) as collector_count,round(100.0 * count(*) / max(t.total_collectors), 1) as pct_of_collectors,sum(l.total_pieces) as total_pieces_held,sum(l.count_1of1s) as total_1of1s_held,round(avg(l.og_score), 0) as avg_og_score,round(avg(l.lifetime_tdh), 0) as avg_lifetime_tdhfrom query_9209524 lcross join totals tgroup by l.activity_statusorder bycase l.activity_statuswhen '🟢 Active' then 1when '🟡 Cooling' then 2when '🟠Stale' then 3else 4end asc