update student s, city c
set s.city_name = c.name
where s.city_code = c.code;这个写法会造成city锁死,有哪些方案可以避免,降低MySQL的数据隔离级别是最好吗?