Example
There are three tables: A_TBL
,B_TBL
,C_TBL
CREATE TABLE A_tbl (
NUM int
)
insert into a_tbl values('1000');
CREATE TABLE B_tbl (
NUM int
)
insert into B_tbl values('2000')
CREATE TABLE C_tbl (
NUM int
)
A_TBL
NUM
1000
B_TBL
NUM
2000
I want to put the sum of Tables A and B in Table C.
Desired Output
C_TBL
NUM
3000