You can query from any previous results set by reference or by just using a new query card. Here is an example:
SELECT
o.order_key AS OrderKey,
o.purchase_date AS PurchaseDate,
c.last_name || ", " || c.first_name AS Name,
c.city AS City,
c.state AS State,
i.clothing_size AS Size,
i.clothing_type AS Type,
i.clothing_color AS Color,
i.price AS UnitPrice,
oi.qty AS Quantity,
i.price * oi.qty AS PricePaid,
SUM(i.price * oi.qty) AS TotalPaid,
i.clothing_brand AS Brand
FROM
:results AS c
JOIN `/mongodb/data/orders` AS o
ON c.customer_key = o.customer_key
JOIN `/mongodb/data/ordered_items` AS oi
ON oi.order_key = o.order_key
JOIN `/mongodb/data/inventory_items` AS i
ON i.item_key = oi.item_key
GROUP BY
i.price * oi.qty
If you can share more about the actual workflow you are trying to build, the data, and then expected output that helps.
Jeff