Given `users(user_id, name)` and `orders(order_id, user_id, amount)`, write PySpark to compute total order amount per user name, sorted by revenue descending.
DrawCode Practice Problem
Join Users and Orders
Interactive Visualizer Workspace
Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.
Launch Interactive Visualizer