Re: finding duplicate numbers in a select distinct statement

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: finding duplicate numbers in a select distinct statement
Дата
Msg-id 2f4958ff1003030700v8a56701icc2e891bdb24814a@mail.gmail.com
обсуждение исходный текст
Ответ на finding duplicate numbers in a select distinct statement  (Terry <td3201@gmail.com>)
Ответы Re: finding duplicate numbers in a select distinct statement  (Terry <td3201@gmail.com>)
Список pgsql-general
select count(*) AS count, error, ev_text FROM clients_event_log GROUP BY error, ev_text;

you can add 'HAVING count(*) > X'; , if you want to see only those with count above X, etc.


--
GJ

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

Предыдущее
От: Kevin Kempter
Дата:
Сообщение: Re: How to grant a user read-only access to a database?
Следующее
От: Terry
Дата:
Сообщение: Re: finding duplicate numbers in a select distinct statement