Comparing Column Headers

You world read both tables and then You can write a simple stored procedure to execute as in below: