by AskAI

Solutions:

Check these solutions from our community and artificial intelligence:
This solution is optimal because it uses the GROUP BY and ORDER BY clauses to group the data by customer ID and then order the data by the average order value. The LIMIT clause is used to limit the results to the top 3 customers.