$this->db->join('blog', 'comment.blog_id= blog.id', 'inner');

OR

$this->db->join('blog', 'comment.blog_id= blog.id');

BY Best Interview Question ON 13 Jan 2019