title: SELECT data with multiple rows using the same id based on 3 columns
body: <p>I have a table Data which contains some data. Several rows belong to the same customer having the same customer_id (index to Customers table). This customer has answered some questions which they have question_id (index to Questions table). In the Data table, there is also the value column regarding the answer of the customer to question0</p>
  
  <p><a href="https://i.stack.imgur.com/GVJQF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GVJQF.jpg" alt="Data Table"></a></p>
  
  <p>I am trying to select the customer_id for which the answers to question_id 1, 2, 3 are 0</p>
  
  <p>I have also tried </p>
  
  <pre><code>SELECT distinct customer_id
  FROM Data
  WHERE value = 0
  AND question_id IN (1, 2, 3);
  </code></pre>
  
  <p>but I am not getting the appropriate result which should be <strong>24</strong> which is the customer_id of the customer that has answered 0 to the questions with question_id 1, 2 and 3.</p>