sql 的update

方案一: update student s, city c set s.city_name = c.name where s.city_code = c.code;web 方案二: 採用子查詢 update student s set city_name = (select name from city where code = s.city_code);svg
相關文章
相關標籤/搜索