DrawCode Practice Problem

Top Two Orders Per Category · Auction bids 26

Auction bids dataset, variant 26. Return orders in the top two distinct amount ranks per category as `category, order_id, amount`; include ties. Write one read-only SQLite SELECT query.


Interactive Visualizer Workspace

Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.

Launch Interactive Visualizer