我不断收到此错误
#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 `rate` R, `temp` T WHERE R.`rate` > T.`rate` AND `rate`.`prefix` LIKE C'
这是我的查询
UPDATE  R
SET  R.rate =  T.rate,
R.vendor = T.provider,
FROM rate R, temp T
WHERE R.rate > T.rate 
AND  R.prefix LIKE CONCAT(T.prefix,  '%' ) 
ORDER BY LENGTH( T.prefix ) DESC LIMIT 1;