DeveloperJr
Programmer
Hello everyone,
My question maybe simple for you, but it puzzles me.
How can I get a list of all the customers (along with their Order_Count) who placed orders with us, the question up to here is easy but here is the tricky part. I want to count the orders that only a certain period of time apart (relative to each other)
Example (assuming that the time period = 30 days)
Joe Ordered in 01-01-2007 (Seed Record) Will include this
Joe Ordered in 01-29-2007 ( less than 30 days from the seed record) Will include this
Joe Ordered in 02-15-2007 (less than 30 days from the 01-29-2007 record) Include it
Joe Ordered in 04-30-2007 (more than 30 days from the any record) exclude it.
Thanks for all of you in advance
My question maybe simple for you, but it puzzles me.
How can I get a list of all the customers (along with their Order_Count) who placed orders with us, the question up to here is easy but here is the tricky part. I want to count the orders that only a certain period of time apart (relative to each other)
Example (assuming that the time period = 30 days)
Joe Ordered in 01-01-2007 (Seed Record) Will include this
Joe Ordered in 01-29-2007 ( less than 30 days from the seed record) Will include this
Joe Ordered in 02-15-2007 (less than 30 days from the 01-29-2007 record) Include it
Joe Ordered in 04-30-2007 (more than 30 days from the any record) exclude it.
Thanks for all of you in advance