HF RL Explorer

e-commerce orders: fix sql query

e-commerce orders: fix sql query: a task in smol-software-harbor (Harbor dataset). queries/top customers.sql must rank customers by the revenue of their completed orders (cancelled and pending orders do not count), highest first, ties broken by name, top 3. Right now the ranking is wrong (see bash…

The task

`queries/top_customers.sql` must rank customers by the revenue of their **completed** orders (cancelled and pending orders do not count), highest first, ties broken by name, top 3. Right now the ranking is wrong (see `bash tests/run.sh`). Fix the query.

Part of efederici/smol-software-harbor.