例子:
select wm_concat(roleid) from lbmember where userid = ?
值的形式:1,2,3
下面是把1,2,3转换为1;2;3select replace((select wm_concat(roleid) from lbmember where userid = ?),',',';') from dual
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3