Re: count(distinct col)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: count(distinct col)
Дата
Msg-id 28401.965167180@sss.pgh.pa.us
обсуждение исходный текст
Ответ на count(distinct col)  ("Chau, Artemis" <artemis.chau@intel.com>)
Список pgsql-novice
"Chau, Artemis" <artemis.chau@intel.com> writes:
> What is the equivalent of
> "select count(distinct col) from tbl" in PGSQL?

That's easy, "select count(distinct col) from tbl".

(If you're running 7.0 that is.  If not, why not?)

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Chau, Artemis"
Дата:
Сообщение: count(distinct col)
Следующее
От: "Chau, Artemis"
Дата:
Сообщение: RE: count(distinct col)