By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Table 'P' is specified twice, both as a target for 'UPDATE' and as a separate source for data
persID | name | gehalt | chefID |
---|---|---|---|
1 | blb | 1000 | 3 |
2 | as | 1000 | 3 |
3 | chef | 1040 | null |