Coding question · Conditional PivotMediumAsked at Stripe

Each category's share of total revenue

Window function with no PARTITION (global aggregate) for per-group ratios.

The Brief