Basically, we have one table (original table) and it is backed up into another table (backup table); thus the two tables have exactly the same sche
original table
backup table
SELECT * FROM Table1 UNION SELECT * FROM Table2
If you get records greater than any of two tables, they don't have same data.