Hi,
I have a transactions table with Tran_num, card_num, transaction_date and total_points for that particular transaction.I have to write a query that gives me the summary of the number of points allocated to customers. I am looking for a result set like this..
Points allocated in Twelve months | Customers |
1 | 10,000 |
2 | 20,000 |
3 | 30,000 |
4 | 40,000 |
..n |
This table will highlight how many members have collected 1 point in the last twelve months, how many have collected 2 points, etc etc...
Any help with the query is really appreciated and thanks in advance.
Thanks and Regards,
Bhanu.