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