mysql GROUP_CONCAT和 order by 同时使用会 排序失效问题
Posted 18 months ago mysql sql
如下
SELECT GROUP_CONCAT(DISTINCT id)
FROM user
ORDER BY id DESC
SELECT GROUP_CONCAT(DISTINCT id ORDER BY id desc)
FROM user
如下
SELECT GROUP_CONCAT(DISTINCT id)
FROM user
ORDER BY id DESC
SELECT GROUP_CONCAT(DISTINCT id ORDER BY id desc)
FROM user