Viewing post 1 (of 2 total)
Thanks,
I have just changed the group by clause to use:
year(sh.orderdate) rather than using the alias created in teh select statement and this has resolved the problem.
Thanks for your reply.
March 30, 2012 at 8:51 am
#1466993