select faq_name, separate_p from faqs where faq_id = :faq_id select faq_id from faq_q_and_as where entry_id = :q_and_a_id