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

How to define a sub function?

864


What is the difference between substr & instr functions?

822


What happens to the current transaction if a ddl statement is executed?

767


What are the uses of Database Trigger ?

1322


How to create a new tablespace in oracle?

732


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

759


List the types of joins used in writing subqueries?

749


What is recovery manager(rman) backup in Oracle?

853


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

792


how to handle exceptions in post production

1144


Explain the different normalization forms?

804


What is transport network substrate (tns) in oracle?

784


What is analyze command used for?

793


how do u setup a replication site?

1693


is there a tool to trace queries, like profiler for sql server?

811