DrawCode
Top N per Category (Window)
Given product sales `(category, product, revenue)`, use a window function to find the top 3 products by revenue within each category.
Browse free without an account. Sign in to save progress, sync likes, and open your canvas workspace.