select * from pages where slug='2012-06' AND deleted != 1