例:
001 n1
001 n2
001 n3
001 n4
001 n5
002 m1
003 t1
003 t2
003 t3
003 t4
003 t5
003 t6
最后要得到类似于如下的结果:001 n1;n2;n3;n4;n5
002 m1
003 t1;t2;t3;t4;t5;t6 怎么写自定义函数?
请大侠们赐教!
非常感谢
001 n1
001 n2
001 n3
001 n4
001 n5
002 m1
003 t1
003 t2
003 t3
003 t4
003 t5
003 t6
最后要得到类似于如下的结果:001 n1;n2;n3;n4;n5
002 m1
003 t1;t2;t3;t4;t5;t6 怎么写自定义函数?
请大侠们赐教!
非常感谢
MySQL官方文档 http://dev.mysql.com/doc/refman/5.1/zh/index.html