I have a data table in BigQuery which looks similar to this.
My desired outcome is this:
I've been experimenting with the MAX (CASE WHEN Country = 'France' THEN 'yes' END)
as France to create columns where I can identify whether the customer made a purchase in the country, but not the number of all their purchases. Any help gratefully received.