Re: counting distinct rows on more than one column

Поиск
Список
Период
Сортировка
От Dirk Lutzebaeck
Тема Re: counting distinct rows on more than one column
Дата
Msg-id 15042.15431.15325.327757@ampato.core.aeccom.com
обсуждение исходный текст
Ответ на Re: counting distinct rows on more than one column  (Michael Fork <mfork@toledolink.com>)
Ответы Re: counting distinct rows on more than one column  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Michael Fork writes:> In 7.0.3, I believe the following would work:> > SELECT count(distinct(a || b)) FROM t;

Great, this works! I don't quite get it why...

Dirk


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Function with now() | time 'now' | etc...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: counting distinct rows on more than one column