I have datetime field names “salestime” in “sales” table
I need to get data as:
SalesMonthYear Total
2010-11 10
2010-10 15
2010-09 21
or
Nov-2010 10
Oct-2010 15
Sep-2010 21
Any one know how can I achieve this using query?
Thanks for the help
1 Answer