postgresql7.4 SELECT content_id FROM lr_section_content WHERE report_id = :report_id AND section_id = :section_id