怎么用Update实现这个?# Database - 数据库
c*t
1 楼
in Oracle, Table A has the following records:
F1, F2, F3
a1 x v1
a1 y v2
a2 x v1'
a2 y v2'
How to write update statement, and make the records look like:
a1, x, v1-v2
a1, y, v2
a2, x, v1'-v2'
a2, y, v2'
F1, F2, F3
a1 x v1
a1 y v2
a2 x v1'
a2 y v2'
How to write update statement, and make the records look like:
a1, x, v1-v2
a1, y, v2
a2, x, v1'-v2'
a2, y, v2'