hello
i've a CUSTOMERS table (customer_id) and a PURCHASES table (customer_id, purchase_date,purchase_id)
I'm trying to count the number of customers who bought purchase_id = X and, in the 12 months before buying X, also bought at least twice purchase_id = Z.
Any idea ?
Thanks in advance
Patrick
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.