Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres count distinct

SELECT 
   COUNT(DISTINCT column) 
FROM 
   table_name
WHERE
   condition;
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #postgres #count #distinct
ADD COMMENT
Topic
Name
4+4 =