I have two tables TBL1 and TBL2. Both have three key columns (they are not PK and FK, we have identity column asigned by the data load tool as PK ) Since all rows distinct because of identity column, What is the best way to check if it is one-to-one relationship between this two tables on key columns
TBL1/ VEN_NO, PO_NO, INV_NO, f4, f5, f6
TBL2/ VEN_NO, PO_NO, INV_NO, f4, f5, f6, f7, f8, f9
TBL1/ VEN_NO, PO_NO, INV_NO, f4, f5, f6
TBL2/ VEN_NO, PO_NO, INV_NO, f4, f5, f6, f7, f8, f9