1. SELECT
1.1 字符串转对应的名称
一串用户id字符串(逗号分割),需要转成对应的用户昵称
-- view_members 用户id集合(uid1,uid1,uid3)
-- view_member_names 用户昵称集合(uname1,uname1,uname3)
select
tb.*,
(select group_concat(tu.name) from t_user tu where find_in_set(tu.id,t.view_members)) as view_member_names
from t_bussiness tb