title: Oracle Unique items not in a particular location
body: <p><a href="https://i.stack.imgur.com/q6UiH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q6UiH.png" alt="enter image description here"></a></p>
  
  <p>I want all item_nos not present in location 100,
  THat is 1003,1005,1006,1007.</p>
  
  <p>What would be the query?</p>
  
  <p>WHat I was trying </p>
  
  <pre><code>Select distinct item_no from location where location_no not in (100)
  </code></pre>
  
  <p>But this returns 1002 as well since it has another location 200.</p>