I'm very new to the concept of joining two tables in CodeIgniter query. Can someone explain the meaning of each line of these codes, please? I don't understand them at all.
$this->db->select('d.*, u.first_name, u.last_name');
$this->db->where('status', -1);
$this->db->join('users AS u','u.id = d.user_id');
$this->db->order_by('d.date','desc');
return $this->db->get('dtr AS d');