N
Neillg
I am working on a small database that is used for tracking donations.
I have two tables, one with donators ( name, address etc) and one with
donations ( amount, date).
I wish to compare the current month with the same month last year ( that is
to compare say march 2007 with march 2006) and from that extract those who
donated last year, but not this year, and also thos who donated this year,,
but not last year.
To further complicate this query, some people donate more than once a year,
so all those who have donated more than once in any of the past 12 months
need to be highlighted.
Is it possible to do in a single sql type query?
Any help would be greatly appreciated
Thanks
I have two tables, one with donators ( name, address etc) and one with
donations ( amount, date).
I wish to compare the current month with the same month last year ( that is
to compare say march 2007 with march 2006) and from that extract those who
donated last year, but not this year, and also thos who donated this year,,
but not last year.
To further complicate this query, some people donate more than once a year,
so all those who have donated more than once in any of the past 12 months
need to be highlighted.
Is it possible to do in a single sql type query?
Any help would be greatly appreciated
Thanks