Restrict string_agg order by in postgres – Postgresql
While working with postgres db, I came across a situation where I will have to display column names based on their ids stored in a table with comma separated. Here is a sample: table1 name: labelprint id field_id 1 1,2…