Ok I have 2 questions.
First I need a query that will serve as a "log" of the number of order we had on each week of each years
lets say
Date: NumberofOrder:
week1-Year2000 11
week2-year2000 22
week1-year2001 07
my second query needs me to know how many order we had THIS WEEK, THIS YEAR
I tried many things but i'm lost... I used the datepart for the week but when I do this it gives me 1230 orders cause it adds all the order from this week from the previous years...