Je zou kunnen proberen
UPDATE t1
SET t1.value = (
SELECT t2.p_value
FROM t2
WHERE t1.id = t2.parent_id)
of gebruik je code probeer
UPDATE t1
SET value = (
SELECT value
FROM t2
WHERE t1.id = t2.id)
Je zou kunnen proberen
UPDATE t1
SET t1.value = (
SELECT t2.p_value
FROM t2
WHERE t1.id = t2.parent_id)
of gebruik je code probeer
UPDATE t1
SET value = (
SELECT value
FROM t2
WHERE t1.id = t2.id)