I'm a beginner in OracleSQL and I have to

* set a value to 0 when another value is null and
* set the value to 1 when the other value is not null.

Currently, I do 2 SQL queries.

```
UPDATE UTDIM SET RESULTAT = 1 where utdim.ut_idt in (select b.ut_idt from blockut b, ut u where b.block_idt = 1333864 and u.idt = b.ut_idt and u.pileut is null)
UPDATE UTDIM SET RESULTAT = 0 where utdim.ut_idt in (select b.ut_idt from blockut b, ut u where b.block_idt = 1333864 and u.idt = b.ut_idt and u.pileut is not null)

```

Is that possible to do with only 1 SQL query?