Guest User

Untitled

a guest
Jul 24th, 2012
42
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $this->db->select('word')->from('words')->where('wordID', 3);
  2. $sub = $this->subquery->start_subquery('select');
  3. $sub->select('number')->from('numbers')->where('numberID', 2);
  4.  
  5. $sub2 = $this->subquery->start_subquery('where_in');
  6. $sub2->select('test')->from('testing')->where('a', 12);
  7. $this->subquery->end_subquery('ab');
  8.  
  9. $this->subquery->end_subquery('number');
RAW Paste Data