title: Compare the value of multiple columns from two different databases
body: <p>I have two databases <code>ABC</code> and <code>XYZ</code> with the same table structure, but different data.</p>
  
  <p>I want to compare the values of <code>col1, col2, col3, col4</code> from <code>tbl_123</code> from both databases, and return an additional column <code>RESULT</code> as 1 if values in both tables are same and 0 it they are not.</p>
  
  <p><code>col1</code> is the primary key in both tables, and the other columns are nullable.</p>