route217
asked on
SQL to append data to one fixed table...
Hi Experts
I am after some SQL code for Oracle Discoverer.....which does the following sequence of steps:
1. Run a SQL Code to pull data back from tables A, b and c (staff details)
2. then append this data to a master table.
2. then repeat step 1, with a slight change in SQL criteria and append the results back to step 2 the master table..
so each time I change the selection criteria I want the end result to end up in the master table.
I am after some SQL code for Oracle Discoverer.....which does the following sequence of steps:
1. Run a SQL Code to pull data back from tables A, b and c (staff details)
2. then append this data to a master table.
2. then repeat step 1, with a slight change in SQL criteria and append the results back to step 2 the master table..
so each time I change the selection criteria I want the end result to end up in the master table.
ASKER
Hi henka
this is the first time I am writing SQL...could you kindly put together a simple sample SQL Statement. please.
and much appreciated for the feedback.
this is the first time I am writing SQL...could you kindly put together a simple sample SQL Statement. please.
and much appreciated for the feedback.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Vitor Montalvão
many thanks for the excellent feedback let me test...
many thanks for the excellent feedback let me test...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
insert /*+ append */
into <<your master table>>
select