SQL Statement for Reconciliation
Given the schema below: create table TBL1 (ID varchar2(100) primary key not null, MATCH_CRITERIA varchar2(100)); create table TBL2 (ID varchar2(100) primary key not null, MATCH_CRITERIA varchar2(100)); create table TBL_RESULT (ID varchar2(100) primary key not null, TBL1_ID varchar2(100), TBL2_ID varchar2(100)); create unique index UK_TBL_RESULT_TBL1_ID on TBL_RESULT(TBL1_ID); create unique index UK_TBL_RESULT_TBL2_ID on TBL_RESULT(TBL2_ID); create sequence SEQ_TBL_RESULT; insert into TBL1 VALUES('1', '1'); insert into TBL1 VALUES('2', '1'); insert into TBL1 VALUES('3', '1'); insert into TBL2