select * from pages where slug='schedule-of-events' AND deleted != 1