select name,description,description_html_p,sort_key-1 as after, sort_key, branch_p, block_section_p, page_break_p from survey_sections where section_id=:section_id select 'After Section "'||name||'"' as secname, sort_key as secsortkey from survey_sections where survey_id=:survey_id and section_id != :section_id order by sort_key select answer_description from survey_block_sections where section_id=:section_id order by block_section_id