Postgres compte distinct
SELECT
COUNT(DISTINCT column)
FROM
table_name
WHERE
condition;
Graceful Goose
SELECT
COUNT(DISTINCT column)
FROM
table_name
WHERE
condition;