machumpion
Registered User.
- Local time
- Today, 15:12
- Joined
- May 26, 2016
- Messages
- 93
In a sales table showing Customer, SalesProduct, DollarValue, and OrderDate (yyyy-mm-dd). How can I run a query of the number of months a Customer ordered and not the count of the number of dates?
for example:
Customer 1 ordered on
Oct 1, 2016,
Oct 3 2016,
Oct 5, 2016,
Nov 11 2016
Nov 12 2016
Desired output
2
thanks!
for example:
Customer 1 ordered on
Oct 1, 2016,
Oct 3 2016,
Oct 5, 2016,
Nov 11 2016
Nov 12 2016
Desired output
2
thanks!