函数:string_agg(rid||'' , ',') SQL:SELECT string_agg(rid||'' , ','),year FROM tdfwzs_jbxx GROUP BY year;
string_agg(rid||'' , ',')
SELECT string_agg(rid||'' , ','),year FROM tdfwzs_jbxx GROUP BY year;