求一条mysql 语句??? 原来的表 col1 col2 A001 aa A001 bb A001 cc A002 dd A002 ee 我想转换为以下 样式 col1 col2 A001 aa,bb,cc A002 dd,ee 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select col1,group_concat(col2 ) from tt group by col1 select col1,group_concat(col2) from 原来的表 group by col1 SELECT col1,GROUP_CONCAT(col2)FROM tbGRGOUP BY COL1; select col1, group_concat(col2) from 原来的表group by col1 同步异地的mysql数据库,纠结~~~~~ mysql的@localhost和@Database这两个用户干啥的,能删除吗? mysql数据库SHOW processlist锁表的问题 select语句中":="的含义 mysql可以管理上千万的数据吗? 几个constraints 的写法 ERROR 1146: Table 'tr069.1' doesn't exist postgresql中有沒有語句修改表字段的數據類型? 求教关于数据库主从同步的问题 现有一条错误的mysql语句,求改正 100高分求sql mysql5.5 双机备份
from 原来的表
group by col1
FROM tb
GRGOUP BY COL1;
from 原来的表
group by col1