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

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -