Guest User

Untitled

a guest
Aug 20th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. create table schema.table_name as (
  2. select b.parent_ID
  3. from
  4. schema.table_01 a,
  5. schema.table_02 b,
  6. schema.prod1_child_ID c,
  7. schema.prod2_child_ID d
  8.  
  9. where a.ky_num=b.ky_num
  10. and a.ID=c.ID or a.ID=d.ID
  11. ) with data;
Add Comment
Please, Sign In to add comment