This problem is paper-only - see explanation for the canonical SQL solution.
Given Customers(id, name) and Orders(id, customer_id, total), return customer names who have at least one order over $500. Sort alphabetically. The canonical pattern is WHERE EXISTS (...) - know why it usually beats IN (...) and JOIN ... DISTINCT.
For the auto-grader: implement customersWithBigOrder(customers, orders).