Update

Guten Morgen,
ich versuche mich an einem Update

Update Tabelle_Europa
set Tabelle_Europa.Land_nr = Tabelle_Afrika.Land_nr
where Tabelle_Europa.Name_id = Tabelle_Afrika.Name_id
and Tabelle_Europa.Land_nr <> Tabelle_Afrika.Land_nr

hab eigentlich alle Möglichkeiten versucht die ich im Netz finden konnte
mal wird ein from vermisst, mal wird Tabelle_Europa als doppelt bemängelt

vielleicht kann mir ja jemand weiter helfen.

Update Tabelle_Europa
set Tabelle_Europa.Land_nr = (Tabelle_Afrika.Land_nr from Tabelle_Afrika)
where Tabelle_Europa.Name_id = Tabelle_Afrika.Name_id
and Tabelle_Europa.Land_nr <> Tabelle_Afrika.Land_nr

Könnte so funktionieren.

Bekomme leider eine Fehlemeldung
ERROR: FEHLER: Syntaxfehler bei »from«
LINE 2: …Land_nr = (Tabelle_Afrika.Land_nr from Tabell…
^

Setze die TAbellen und Feldbezeichner mit Großbuchstaben mal in Anführungszeichen, also so “Tabelle_Afrika”.“Land_nr”
Gruß Uwe

Kommt leider die selbe Fehlermeldung
ERROR: FEHLER: Syntaxfehler bei »from«

Die Syntax ist so:

Command:     UPDATE
Description: update rows of a table
Syntax:
[ WITH [ RECURSIVE ] with_query [, ...] ]
UPDATE [ ONLY ] table_name [ * ] [ [ AS ] alias ]
    SET { column_name = { expression | DEFAULT } |
          ( column_name [, ...] ) = [ ROW ] ( { expression | DEFAULT } [, ...] ) |
          ( column_name [, ...] ) = ( sub-SELECT )
        } [, ...]
    [ FROM from_list ]
    [ WHERE condition | WHERE CURRENT OF cursor_name ]
    [ RETURNING * | output_expression [ [ AS ] output_name ] [, ...] ]