<prompt> Build an SQL query that extracts all the customer data from the customer table who have bought product with id Equal to 2.  <response>: Here is one possible SQL query to extract customer data from the customer table where the customer has purchased the product with an id of 2:SELECT c.FROM customer cJOIN purchase pON c.customer_id p.customer_idWHERE p.product_id 2; 