Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

insert based on columns stored in other table

Jaismeen-OracleNov 27 2019 — edited Nov 27 2019

Hello All,

We have 3  tables table1, table2 and table3. table2 is exact replica of table1 along with some additional columns.Table3 stores columns whose values should be captured from table1.

Table1 with 5 columns a1,a2,a3,a4,a5 table2 has columns a1,a2,a3,a4,a5,a6,a7 table3 has columns b1 and b2. Table3 has  b1 column which stores columns from table1 .Like it can have a1,a2,a3.

Is it possible to have insert on table from table1 depending on columns stored in table3.

Thanks and Regards,

Amrit

This post has been answered by mathguy on Nov 27 2019
Jump to Answer
Comments
Post Details
Added on Nov 27 2019
8 comments
358 views