title: SQL how to compare two tables for same data content?
body: <p>I have two tables <code>TableA</code> and <code>TableB</code> which have the same format of columns, which means both tables have the columns</p>
  <pre><code>A B C D E F 
  </code></pre>
  <p>where <code>A</code> and <code>B</code> are the primary keys.</p>
  <p>How do I write an SQL query to check if <code>TableA</code> and <code>TableB</code> (which have identical primary keys) contain exactly the same values in every column?</p>
  <p>It means that these two tables have exactly the same data.</p>