When the SQL query below is executed:
UPDATE shop_category SET name = \'Secolul XVI - XVIII\' AND name_eng = \'16th to 18th centuries\' WHERE category
Try replacing the AND with ,
AND
,
UPDATE shop_category SET name = 'Secolul XVI - XVIII', name_eng = '16th to 18th centuries' WHERE category_id = 4768
The UPDATE Syntax shows comma should be used as the separator.