提供几道sql的题目

来源:百度知道 编辑:UC知道 时间:2024/06/17 01:46:33

UPADTE能一次修改几个字段吗?
可以的啊

update table_name b set b.colum = (select value from table_2 a wehere a.colum=b.clou 检索条件)
where b.clu = 检索条件,如果需要的话,可以写的