mysql多條數據合並一條用,逗號分隔
GROUP_CONCAT(equipment_type) as type
mysql多條數據合並一條用,逗號分隔並且去除重復值
GROUP_CONCAT(distinct equipment_type) as type 這里的distinct必須放在開頭
GROUP_CONCAT(equipment_type) as type
GROUP_CONCAT(distinct equipment_type) as type 這里的distinct必須放在開頭
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。