title: Find differences in record sets
body: <p>I want to know if 2 record sets are different. I use a <code>full outer join</code> for that. Simple example:</p>
  
  <pre><code>select count(*) from 
  (
   select 1 as c
   union 
   select 2 as c 
  ) t1
  full outer join 
  (
   select 1 as c 
   union 
   select 3 as c
  ) t2 on t1.c = t2.c
  where t1.c is null or t2.c is null
  </code></pre>
  
  <h3><a href="http://sqlfiddle.com/#!3/d41d8/24930" rel="nofollow">SQLFiddle</a></h3>
  
  <p>If the record sets are equal then the <code>count()</code> returns <code>0</code>.</p>
  
  <p>Is there a better way to achieve that? </p>