update c set s='3'
from ccc as c
left join aaa a
on c.cid=a.eid
where a.type='01' and c.s='1' and (c.p=2807 or a.op=2807)
请教一下,这个sql语句怎么会报错呢?
[Err] 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 ccc as c
left join aaa as a
on c.cid=a.eid
where a.t' at line 2
请不吝赐教!