Hi,
I have a transactions table in my database which stores info on customer purchases e.g when they bought, what they bought, how much they spent etc. The customers are identified by a cust_id field and the date field is called order_date. Each record records one instance of a purchase i.e if they came in the shop and bought two different products there would be two records recorded with the same date, but with different product_codes and prices.
What I want to do is identify regular customers i.e find those customers who visit once or more, every 4 weeks.
How can I do this?
Any info wouild be greatly appreciated.
Cheers
Paul
I have a transactions table in my database which stores info on customer purchases e.g when they bought, what they bought, how much they spent etc. The customers are identified by a cust_id field and the date field is called order_date. Each record records one instance of a purchase i.e if they came in the shop and bought two different products there would be two records recorded with the same date, but with different product_codes and prices.
What I want to do is identify regular customers i.e find those customers who visit once or more, every 4 weeks.
How can I do this?
Any info wouild be greatly appreciated.
Cheers
Paul