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...