sql server 2008 r2 - Cumulative Sum of week sales -
select weekly report report Data ID, Item ID, Store ID, Manufacturer Vacancy Ashokide, Weeksell, WKYR, Sam (Weeksal ManufacturerRetailerAssocId Order by YTD from WeeklyReportDetailsData as ItemID, StoreId, WeekSales, WeeklyReportDetailsDataId, WKYR, by ManufacturerRetailerAssocId Order by ManufacturerRetailerAssocId = 10 Group (from ManufacturerRetailerAssocId ROWS) in the previous and existing lines of Item ID, StoreId, Itemid, StoreId, WeeklyReportDetailsDataId, Itemid, StoreId, ManufacturerRetailerAssocId, WKYR
I'm getting the error that the wrong syntax near the ballast Please help !!!!!!
change current lines
to current line
. Your error should be resolved!
Edit:
Your comment mentions that you are on 2008 R2 indicates that you do not have the ability to use
Please enter over ()
for the SQL Server and
Comments
Post a Comment