mysql經過group by分組後,用max取每組中最大的項,並用laravel的paginate支持分頁

mysql> select * from test; +----+-------+------+-------+ | id | name | age | class | +----+-------+------+-------+ | 1 | qiu | 22 | 1 | | 2 | liu | 42 | 1 | | 4 | zheng | 20 |
相關文章
相關標籤/搜索