On your own: sales per team

Your task In the code box, write one query that shows lead (the team lead's name) and sales (the sum of qty * unit_price over the shipped orders of the account managers who report to that lead). Then press Run my code.

Getting the editor ready