0_0_28849626_3371.cpp:1:1: error: stray '`' in program
UPDATE `WarningSendMail` AS alias_1 INNER JOIN (SELECT * FROM `WarningSendMail` WHERE flag=1 AND topic_id LIKE "%2267%") AS alias_2 SET alias_1.topic_id = REPLACE(alias_1.topic_id,'|2267','') WHERE alias_1.id = alias_2.id
^
0_0_28849626_3371.cpp:1:1: error: stray '`' in program
0_0_28849626_3371.cpp:1:1: error: stray '`' in program
0_0_28849626_3371.cpp:1:1: error: stray '`' in program
0_0_28849626_3371.cpp:1:189: error: empty character constant
UPDATE `WarningSendMail` AS alias_1 INNER JOIN (SELECT * FROM `WarningSendMail` WHERE flag=1 AND topic_id LIKE "%2267%") AS alias_2 SET alias_1.topic_id = REPLACE(alias_1.topic_id,'|2267','') WHERE alias_1.id = alias_2.id
^
0_0_28849626_3371.cpp:5:63: error: empty character constant
update WarningSendMail set topic_id= REPLACE(topic_id,'|2267','') WHERE id IN ( SELECT id FROM WarningSendMail WHERE flag=1 AND topic_id LIKE "%2267%" );
^
0_0_28849626_3371.cpp:1:1: error: 'UPDATE' does not name a type
UPDATE `WarningSendMail` AS alias_1 INNER JOIN (SELECT * FROM `WarningSendMail` WHERE flag=1 AND topic_id LIKE "%2267%") AS alias_2 SET alias_1.topic_id = REPLACE(alias_1.topic_id,'|2267','') WHERE alias_1.id = alias_2.id
^
|