title: Find rows where one column value match and other does not
body: <p>I have two tables A and B</p>
  
  <p>Table A</p>
  
  <pre><code>CODE TYPE
  A 1
  A 2
  A 3
  B 1
  C 1
  C 2
  </code></pre>
  
  <p>Table B</p>
  
  <pre><code>CODE TYPE
  A 1
  A 2
  A 4
  B 2
  C 1
  C 3
  </code></pre>
  
  <p>I want to return rows where CODE is in both tables but TYPE is not and also CODE has more than one TYPE in both tables so my result would be</p>
  
  <pre><code> CODE TYPE SOURCE
      A 3 Table A
      A 4 Table B
      C 2 Table A
      C 3 Table B
  </code></pre>
  
  <p>Any help with this?</p>