SELECT DISTINCT and count(1)

Поиск
Список
Период
Сортировка
От A B
Тема SELECT DISTINCT and count(1)
Дата
Msg-id dbbf25900907160257n3f0e5782v80ba8e1d8585df68@mail.gmail.com
обсуждение исходный текст
Ответы Re: SELECT DISTINCT and count(1)  (nobs@nobswolf.info (Emil Obermayr))
Список pgsql-novice
Hi.
I need to do a

select distinct userid  from  usertable,<more tables>  where <conditions>;

and then count the rows in the result

How do I do that?

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

Предыдущее
От: "Crystal BEWZA"
Дата:
Сообщение: Re: Where to find libpq.lib? Or How to link to libpq using windows VS
Следующее
От: A B
Дата:
Сообщение: Re: SELECT DISTINCT and count(1)