摘要: 需求是 查询每个班 年龄最小的那个人 ,需要显示如下: SQL 语句如下: select id,SUBSTRING_INDEX(GROUP_CONCAT(age order by age),',',1) as age,SUBSTRING_INDEX(GROUP_CONCAT(username ord 阅读全文
posted @ 2018-05-19 19:31 热敷哥 阅读(227) 评论(0) 推荐(0)