I have two following examples.

**1. Example (WHERE)**

```
SELECT 1
  FROM table1 t1
  JOIN table2 t2 ON t1.id = t2.id
 WHERE t2.field = true

```

**2. Example (JOIN AND)**

```
SELECT 1
  FROM table1 t1
  JOIN table2 t2 ON t1.id = t2.id AND t2.field = true

```

What is the faster way in terms of performance? What do you prefer?