Three Scenarios
- Absolute (store-wide): First order date across the entire business defines new vs returning.
- Relative (by category): First order in that product category defines new for that category.
- Churn / win-back: Returning after a long gap (optional advanced pattern; uses similar date logic with a threshold).
Below we implement Patterns 1 and 2 on an Orders table with CustomerID, OrderDate, and Category.