title: How can I compare 2 columns in 2 tables to check for UNEQUAL values
body: <p>I have a table say Table 1 with column A with values {22,18,17} and another table Table 2 with column B with values {18,22} when I do a query like</p>
  
  <pre><code>select * from Table 1 where column A not in (select column B in Table 2). 
  </code></pre>
  
  <p>This gives me 3 rows {22,18,17}</p>
  
  <p>I want only 17 as output.</p>
  
  <p>I am newbie to SQL can anyone help me</p>