我在下面的查询中运行了这个,它给出了错误:
UPDATE t_o
SET t_o.mlm_order_id = mt.order_id
FROM temp_orders t_o, mlm_transaction mt
WHERE mt.v2_order_id = t_o.order_id
错误是:
#1064 - You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use near
'FROM temp_orders t_o, mlm_transaction mt WHERE mt.v2_order_id = t_o.order_id'
at line 3
请帮忙 ??