select * from pages where slug='fencing.html' AND deleted != 1