QTY | Month | Year | QTY_YTD | QTY_MTD | QTY_PTD |
10 | 1 | 2010 | |||
20 | 2 | 2010 | |||
20 | 1 | 2012 | |||
30 | 3 | 2012 |
Above is how my table looks like and all are having integer datatypes
I dont have a calendar table to join hence without calendar table can I compute YTD,MTD,PTD?
If so what will be the case queries
Mudassar