title: Delete with join in not working-Codeigniter
body: <p>I have a query in codeigniter like,</p>
  
  <pre><code>$this-&gt;db-&gt;join('mail_groups','subscriber.mail_group_id=mail_groups.mail_group_id');
  $this-&gt;db-&gt;where('mail_groups.user_id',$this-&gt;user_id);
  $this-&gt;db-&gt;where('subscriber.email_address',$email);
  $this-&gt;db-&gt;delete('subscriber');
  </code></pre>
  
  <p>I am getting this error</p>
  
  <p><img src="https://i.stack.imgur.com/z2IcB.jpg" alt="enter image description here"></p>
  
  <p><strong>TABLE STRUCTURE</strong></p>
  
  <p>Subscriber</p>
  
  <p><img src="https://i.stack.imgur.com/AeEoe.jpg" alt="enter image description here"></p>
  
  <p>Mail groups</p>
  
  <p><img src="https://i.stack.imgur.com/9tPam.jpg" alt="enter image description here"></p>
  
  <p>It is possible to delete with join in Codeigniter?</p>