我有表 part_volume 列部分,volume_1,volume_2,volume_3,volume_4,volume_5,volume_6 列。
表有如下数据:
PART VOLUME_1 VOLUME_2 VOLUME_3 VOLUME_4 VOLUME_5 VOLUME_6
--------- -------- -------- -------- -------- -------- --------
camera 1500 0 0 0 3000 0
我想将数据显示为
PART VOLUME_1 VOLUME_2 VOLUME_3 VOLUME_4 VOLUME_5 VOLUME_6
--------- -------- -------- -------- -------- -------- --------
camera 1500 1500 1500 1500 3000 3000
我怎样才能在 oracle 中实现这一点?
谢谢并恭祝安康,
洛帕