title: Yii2, ActiveQuery, subQuery have not entry with ID
body: <p>I cannot found solution... We have mysql tables</p>
  
  <pre><code>`users`
  id | username
  1      Mike
  2      John
  3      Jane
  
  `roles`
  userID | roleID
  1         2
  1         3
  3         1
  </code></pre>
  
  <p>So question is - I need select all users that have NOT specific roleID in one query. Also user can HAVE NOT any relations in roles (for example John have not any roleID so he should be selected in all queries).</p>
  
  <p>Simple query is when user have some roleID (we can check it with ->joinWith()) - but I need invert this query, select all users that have any other except one roleID.</p>
  
  <p>Problem is that we have oneToMany (users->roles) relations and Yii2 ->joinWith() is not working in correct way (as I think, I hope I'm wrong). </p>
  
  <p>Can someone help to deal with it?</p>