oracle 插入数据:用左表的数据更新右表的null值地区,不能重复
oracle更新列的值
答案:2 悬赏:60
解决时间 2021-04-07 23:08
- 提问者网友:我稀罕你
- 2021-04-07 17:05
最佳答案
- 二级知识专家网友:桃花别处起长歌
- 2021-04-07 17:58
update Right_table t
set t.E=(select t1.B from left_table t1 where t1.A=T.D)
where t.E is null;
set t.E=(select t1.B from left_table t1 where t1.A=T.D)
where t.E is null;
全部回答
- 1楼网友:嗷呜我不好爱
- 2021-04-07 18:57
晕,没必要这么改
一条
update uf_staffinformlogin set logintime=to_char(to_date(logintime,'yy-mm-dd'),'yyyy-mm-dd');
不就行了嘛
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯