converting rows into a string
SELECT array_to_string(array(
SELECT cn_name FROM t_city
),'/')
"北京/上海/重庆"
原文链接:https://www.f2er.com/postgresql/196268.htmlconverting rows into a string
SELECT array_to_string(array(
SELECT cn_name FROM t_city
),'/')
"北京/上海/重庆"
原文链接:https://www.f2er.com/postgresql/196268.html