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



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

Answer / 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

More Oracle General Interview Questions

What is integrity and what is constraint??Explain with example

0 Answers   Google,


can you write commit in triggers?

4 Answers  


Does oracle partitioning improve performance?

0 Answers  


How to delete all rows a table in oracle?

0 Answers  


How to use in conditions in oracle?

0 Answers  






How can we create the complete backup of data in the oracle.

0 Answers   IPEC, Satyam, SunTec,


What is a partition in oracle?

0 Answers  


Write query to fetch second maximum salary from employee table.

4 Answers   Bravura Solutions, HCL,


What is a subquery?

0 Answers  


What types of joins are used in writing subqueries?

0 Answers  


what is IDE,DMV in sql server?

0 Answers  


If a table column has is UNIQUE and has NOT NULL, is it equivalent to a PRIMARY KEY column?

7 Answers   IBM,


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)