I have these three tables; how can I insert into Table C (c_table
) FROM b_table and a_table assuming that the volume of table's (especially A) data is very large:
Table B:
CREATE TABLE b_table
(
NAME varchar2(10),
ID number PRIMARY KEY
)
Table A:
CREATE TABLE a_table
(
CODE number,
RATE number,
DATEE date,
CONSTRAINT fk_a_table
FOREIGN KEY (CODE) REFERENCES b_table(ID)
);
Table C:
CREATE TABLE c_table
(
DATEE date,
USD number,
EUR number,
OBP number
);