Select MCQ answer count based on previous question's answer
问题 Let's take a PostgreSQL DB with the following structure: (all the relations from top to down are OneToMany ) Where a Brandlift always has exactly 2 brandlift_question each having 1 brandlift_answer (itself having many brandlift_answer_content ) by brandlift_respondent Goal: Given a 'brand' (let's call it the "flagship brand") and a brandlift.campaign_id , for each brand of this brandlift , retrieve by respondent segment , the count of brand.id = 'answer_content.brand_id' of the second (right)