update后不能直接跟limit条件;要先用select选出后,在用in条件进行update; update table set field=‘内容’ where id in (select id from (select * from table where 条件 limit n,m) as a);