Query editor
WITH final_positions AS (SELECT * from query_5812722)SELECTCOUNT_IF(in_range) * 100.0 / COUNT(*) AS pct_in_range,COUNT(*) AS total_positions,COUNT(DISTINCT nft_owner) AS lp_providers,AVG(current_value_usd) AS avg_lp_size_usdFROM final_positions;