Du skal bruge en UPDATE
(ikke INSERT
):OPDATERING DOCS
UPDATE spot_table ST
INNER JOIN tag_mapping_spot_table c ON c.spot_id = ST.spot_id
INNER JOIN def_table b ON b.tag_id = c.tag_id
SET ST.spot_name = b.tag_ja
Du skal bruge en UPDATE
(ikke INSERT
):OPDATERING DOCS
UPDATE spot_table ST
INNER JOIN tag_mapping_spot_table c ON c.spot_id = ST.spot_id
INNER JOIN def_table b ON b.tag_id = c.tag_id
SET ST.spot_name = b.tag_ja