title: Yii - addInCondition
body: <p>first thing is i have these data in my db:</p>
  
  <pre><code>family_name      employee_rank
  Dixon            1
  Greene           1
  Grimes           1
  //and all other family_names with different employee_rank
  </code></pre>
  
  <p>i have a list of employees that i need to generate.
  i have this condition in my $criteria where i am not including <code>employee_rank = 1</code> except <code>family_name = 'Grimes'</code></p>
  
  <pre><code>$criteria-&gt;addNotInCondition('employee_rank', array('1'));
  </code></pre>
  
  <p>How can i include <code>family_name = "Grimes"</code> in the search condition.
  i tried using </p>
  
  <pre><code>$criteria-&gt;addInCondition('family_name', array('Grimes'));
  </code></pre>
  
  <p>but this will only result to searching only Grimes and not include everyone else. I also tried using this</p>
  
  <pre><code>$criteria-&gt;addNotInCondition('employee_rank', array('9', '1'));
  $criteria-&gt;addNotInCondition('family_name', array('Dixon', 'Greene'));
  </code></pre>
  
  <p>This is the correct thing that i want but i need a condition where i dont need to use <code>$criteria-&gt;addNotInCondition('family_name', array('Dixon', 'Greene'));</code> but a condition where <code>family_name = "Grimes"</code>.</p>