On your own: orders and returns per customer

Your task In the code box, write one query that shows name, orders (how many orders the customer placed) and returned (how many of those have the status 'returned'), one row per customer who has at least one order. Then press Run my code.

Getting the editor ready