Turn rows into columns

Your task In the code box, write one query that shows category, shipped, returned and pending: the units (qty) of that category's order lines in orders with each status. Then press Run my code.

Getting the editor ready