GROUP_CONCAT([DISTINCT] 要连接的字段 [ORDER BY ASC/DESC 排序字段] [separator '分隔符'])
SELECT uptime, GROUP_CONCAT(aid SEPARATOR ' ') AS result FROM scheduler GROUP BY uptime;
结果
uptime result 10:00:00 95079809 20:00:00 25079809 55079809