i have a syntax error in this code, but i can't see where since i think that the code is right... i want to copy some column in the database named "w" (table creaturecache) and replace that data with the columns in the "world" database (table creature_template)
CODE:
UPDATE world.creature_template
SET name, `type`, family, rank, modelid2, modelid3, modelid4, Health_mod, movementId, IconName, KillCredit1, KillCredit2, type_flags, questItem1, questItem2, questItem3, questItem4, questItem5, questItem6
SELECT male_name1, `type`, family, rank, modelId2, modelId3, modelId4, HealthModifier, movementId, icon_name, killcredit1, killcredit2, type_flags, QuestItem1, QuestItem2, QuestItem3, QuestItem4, QuestItem5, QuestItem6
FROM w.creaturecache where world.creature_template.entry = w.creaturecache.entry;