I have a table with 3 colums orderno, delivery date and order sum. orderno apeare as often as there are row in the order, i want to count how many row there is sorted by week and how many uniqe orderno there are sorted by week. sorry for the bad spelling.
orderno (rows) Del.date order row sum
1000 2002-07-12 100.00
1000 2002-07-12 123.00
1001 2002-08-15 159.00
1002 2002-08-10 10000.00