oracle update一列数据

[复制链接]
查看11 | 回复3 | 2009-7-8 17:20:32 | 显示全部楼层 |阅读模式
update X a set a.L1 = (select count(b.L1) from X b where b.L1 = a.L1) 已测试,OK。...
回复

使用道具 举报

千问 | 2009-7-8 17:20:32 | 显示全部楼层
update x set l2 = (select count(*) from x as x1 where x1.l1=x.l1)...
回复

使用道具 举报

千问 | 2009-7-8 17:20:32 | 显示全部楼层
update from X set a=sun(a) ,set b = sun(b)...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行