title: subquery in codeigniter active record
body: <pre><code>SELECT * FROM certs WHERE id NOT IN (SELECT id_cer FROM revokace);
  </code></pre>
  
  <p>How do I write the above select statement in CodeIgniter active record?</p>