1 2 3
-- 子查询解决方案 select * from (select id,name from `test` order by `date` desc) as `temp` group by category_id order by `date` desc;
目前还没有评论
目前还没有评论