在一个数据中(id、cname、job)分别代表字段
这是表中的内容:
id cname job 1 a b 1 a c 2 q e用什么方法把这三项合成以下结果:id cname job 1 a b,c 2 q e或者在网页中输出表示出来用什么方法?请高手帮忙解决。最好能提供SQL语句