Build an SQL query that extracts all the customer data from the customer table who have bought product with id Equal to 2.
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 c
JOIN purchase p
ON c.customer_id = p.customer_id
WHERE p.product_id = 2;
```
Below is an instruction that describes a task, write a response that appropriately completes the request.

### Instruction:
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 c
JOIN purchase p
ON c.customer_id = p.customer_id
WHERE p.product_id = 2;
```