$this->db->select('*');
$this->db->from('messages');
$this->db->where('user_id_get', $data['users_id']);
$this->db->group_by('user_id_get');
//$this->db->order_by('id','DESC'); This doesn't work
$data["Query"] = $this->db->get();
私のクエリ(codeigniter)でgroup_byと一緒にorder_byを使用するにはどうすればいいですか?by group by
http://stackoverflow.com/questions/19943388/codeigniter-group-by-with-order-by-not-working-as-expected](http://stackoverflow.com/questions/ [リンクの下に参照してください。 19943388/CodeIgniterのグループごとでの注文ごとではない - 労働者として予想) – msk
[OK]を、それは私のクエリでは何ですか? –
あなたのグループにはIDがどのように注文できますか? – Hogan