SET SESSION optimizer_switch='condition_pushdown_for_derived=off';
INSERT INTO table001(column221,column93,column230,column229)
SELECT
v.column221,v.column93,v.column230,v.column229
FROM view001 v
WHERE v.column93 <= '2025-05-03 00:00:00'
ON DUPLICATE KEY UPDATE
column221=v.column221,column93=v.column93,column230=v.column230,column229=v.column229
