I'm using MySQL here is my table named npstable
pk id | score | personid | date
---------------------------------------
435 | 4 | 33 | 2012-01-05
436 | 10 | 78 | 2012-01-21
437 | 5 | 22 | 2012-05-11
438 | 2 | 33 | 2012-01-22
439 | 10 | 22 | 2012-05-25
440 | 4 | 33 | 2012-02-05
i want to get score of those persons who have not score in same month like i want
pk id | score | personid | date
---------------------------------------
435 | 4 | 33 | 2012-01-05
436 | 10 | 78 | 2012-01-21
437 | 10 | 22 | 2012-05-25
440 | 4 | 33 | 2012-02-05
i am already using query with my other requirements like this
"select * from npstable where date_created>='2012-01-01' AND date_created<='2012-06-05' AND score BETWEEN 0 AND 10;"
Any ideas how to make select queries that can generate the my required report.