sql - how to get rows value in one row? -


select id x 

gives list of ids:

1 2 3 44 655 31 

how in 1 row array? (1,2,3,44,655,31)

query should this

 select string_agg(id, ',') x 

Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -