Does this look correct for the homework at the bottom of lesson 108 where it asks to add country to the CTE?
I chose inner join instead of left join but i dont think it would matter if i did left join?
WITH customers AS (
SELECT
a.user_id,
b.country,
MIN(a.created_at) AS first_purchased_at
FROM purchases a
inner join users b
on a.user_id = b.id
WHERE
refunded = FALSE
GROUP BY 1,2
ORDER BY 3 DESC
)
SELECT *
FROM customers