Answers for "postgres array unique"

SQL
2

postgresql make each element in array distinct

SELECT ARRAY(SELECT DISTINCT unnest(t_column)) FROM t_name;
Posted by: Guest on March-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language