In my Codeigniter project, I have tried selecting data group_by using this query.
$this->db->select('mail_tag')->from('history')->group_by('tag')->get()->result_array();
This is my query to select data using group by from MySQL database. It works fine but the null value is listed in this query, I want to remove the null value while using group_by.
Question and answer is powered by AnsPress.io