select distinct shapename,count(*) as cnt ;
from localcrime1 ;
group by shapename order by shapename;
having cnt>1
Any duplicates?
If not, I suggest you prefix the code with
brow last for localcrime1.crimedate >= m.Dday
which will give you all the objects that should remain. Are there any?
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1