Potrzebujesz UPDATE
(nie INSERT
):AKTUALIZUJ DOKUMENTY
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
Potrzebujesz UPDATE
(nie INSERT
):AKTUALIZUJ DOKUMENTY
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