我就废话不多说了,大家还是直接看代码吧~with person_name as (select c.id,array_to_string(array_agg(distinct p.c_name), ' , ') as p