Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres first_value in gropby

try using "DISTINCT" instead of "GROUP BY", then use the "PARTITION BY"
clause inside the first_value.
 
PREVIOUS NEXT
Tagged: #postgres #gropby
ADD COMMENT
Topic
Name
2+5 =