MySQL之GROUP_CONCAT()
摘要:
MySQL的group_concat()函数可太好用了 将作用是将属于同一组的列显示出来,所以和group by一同使用,同一组的默认以逗号分隔显示 基础语法:select group_concat(列 SEPARATOR ',') from tablename group by 列名 SEPARA 阅读全文
posted @ 2023-07-09 17:11 zyp_java_net 阅读(7) 评论(0) 推荐(0) 编辑