G
Guest
I have a table with 4 columes of CustomerID, Date_, Number_, reset_, and
having the following records,
1001;01/09/06;2;no
1001;15/09/06;3;no
1001;28/09/06;10;no
1001;01/10/06;30;no
1001;20/10/06;0;yes
1001;30/10/06;5;no
1001;02/11/06;15;no
1002;16/09/06;14;no
1002;16/10/06;44;no
1002;30/10/06;56;no
1002;01/11/06;70;no
I want to get the number of how much is increased for each customer each
month, I should get the following result:
1001;Sept/06;10
1001;Oct/06;25
1001;Nov/06;10
1002;Sept/06;14
1002;Oct/06;52
1002;Nov/06;14
How can I acheive this?
Thanks.
having the following records,
1001;01/09/06;2;no
1001;15/09/06;3;no
1001;28/09/06;10;no
1001;01/10/06;30;no
1001;20/10/06;0;yes
1001;30/10/06;5;no
1001;02/11/06;15;no
1002;16/09/06;14;no
1002;16/10/06;44;no
1002;30/10/06;56;no
1002;01/11/06;70;no
I want to get the number of how much is increased for each customer each
month, I should get the following result:
1001;Sept/06;10
1001;Oct/06;25
1001;Nov/06;10
1002;Sept/06;14
1002;Oct/06;52
1002;Nov/06;14
How can I acheive this?
Thanks.