Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgresql make each element in array distinct

SELECT ARRAY(SELECT DISTINCT unnest(t_column)) FROM t_name;
 
PREVIOUS NEXT
Tagged: #postgresql #element #array #distinct
ADD COMMENT
Topic
Name
9+8 =