converting rows into a string

SELECT array_to_string(array(
    SELECT cn_name  FROM t_city
  ),'/')

 

"北京/上海/重庆"

 

相关文章: