SELECT id, title, slug, note_id FROM pages WHERE slug=?;