title: SQL select not load rows with certain value in them
body: <p>SQL select not load rows with a certain value in them, not to load the ID if values contain "Red" in the Value field</p>
  
  <p>INPUT</p>
  
  <pre><code>ID  Row ID  Value
  --------------------
  1   4234    Red
  1   4543    Blue
  1   4852    Green
  2   5161    Blue
  2   5470    Green
  3   5779    Red
  3   6088    Green
  4   6397    Red
  5   6706    Green
  5   7015    Blue
  </code></pre>
  
  <p>OUTPUT</p>
  
  <pre><code>ID  Row ID  Value
  ------------------
  2   5161    Blue
  2   5470    Green
  5   6706    Green
  5   7015    Blue
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/rB29Q.jpg" rel="nofollow noreferrer">Sample</a></p>