Jak w temacie,
Mam dwie tabele:
przyjecie_towar:
id | id_t | nastan
1 | 2 | 4
2 | 3 | 5
towar:
id_t| stan
2 | 5
3 | 10
Chcę zaktualizować tabele towar jak poniżej
towar po wykonaniu polecenia:
id_t| stan
2 | 9
3 | 14