I want to compare columns of two different sql tables based on column names. For eg there are two tables Table1 and Table2. Table1 has columns A,B,C Table2 has columns A,C