solulubeta
Sign in
SQL / Window functions & CTEs
06.04 · SQL

Share of revenue by category

For each category with sales return category, category_revenue and revenue_pct: its share of all revenue as a percentage, rounded to 2 decimals. Biggest share first.

Hard 3 min Pro

This lesson is part of solulu Pro

For each category with sales return category, category_revenue and revenue_pct: its share of all revenue as a percentage, rounded to 2 decimals. Biggest share first.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this as done when you are finished.

Item 59 of 77 · updated 2026-10-12