I am new to SQL queries, I have tables:

**Table1**:

```
Id  | Flag
----+------
200 | 1
201 | 1
202 | 1
203 | 1
204 | 1

```

**Table2**:

```
Id  | Flag
----+------
200 | 0
203 | 1

```

I want result like this:

```
Id  | Flag
----+------
200 | 0
201 | 1
202 | 1
204 | 1

```

I have tried with left join but still I am not getting expected result.