SELECT THE RECORDS FROM 3 TABLES LIKE(T1,T2,T3) AND HOW CAN
WE INSERT THAT RECORD IN ANOTHER TABLE LIKE(T4)?

Answer Posted / manoj

Suppose that the tables are having same structure:

insert into T4 ( select <col1>,<col2>, ...<colN> from T1
UNION select <col1>,<col2>, ...<colN> from T2 UNION select
<col1>,<col2>, ...<colN> from T3)

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are named parameters?

616


How to view the data files in the current database?

595


What is an oracle user account?

582


What is key preserved table?

567


What is the difference between a user and a schema in oracle?

564






What is a procedure in oracle?

618


How to unlock the sample user account in oracle?

558


How do I use unicode codesets with the weblogic jdriver for oracle driver?

552


What do you mean by merge in oracle and how can you merge two tables?

527


How to run the anonymous block again?

595


How to export data to a csv file?

627


how can we store any pdf file in oracle

1645


Explain the use of Merge statement in oracle 11g

598


What are the various constraints used in oracle?

556


Can multiple cursors being opened at the same time?

614