Query editor
SELECTCONCAT('0x', LOWER(TO_HEX(buyer))) AS buyer,ROUND(SUM(gross_revenue_usd), 2) AS lifetime_revenue_usd,ROUND(SUM(gross_revenue_usd) FILTER (WHERE sale_month = CAST(DATE_TRUNC('month', CURRENT_DATE) AS DATE)), 2) AS current_month_revenue_usd,COUNT(DISTINCT tx_hash) AS paid_orders,CAST(SUM(CAST(quantity AS DOUBLE)) AS BIGINT) AS units_bought,MAX(sale_time) AS last_purchase_timeFROM query_7995475WHERE gross_revenue_crypto > 0GROUP BY 1ORDER BY lifetime_revenue_usd DESCLIMIT 25