Re: Where clause

Поиск
Список
Период
Сортировка
От Michael Landin Hostbaek
Тема Re: Where clause
Дата
Msg-id 20070627081259.GR50866@mich2.itxmarket.com
обсуждение исходный текст
Ответ на Re: Where clause  ("news.gmane.org" <nis@superlativ.dk>)
Список pgsql-sql
news.gmane.org (nis) writes:
> SELECT * FROM
> (
> select cid,count(distinct contactid) from tracking where click =
> true group by cid
> ) c1
> FULL OUTER JOIN
> (
> select cid,count(distinct contactid) from tracking where view =
> true group by cid
> ) c2
> USING (cid);


That did the trick!

Many thanks, 

Mike


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

Предыдущее
От: Wiebe Cazemier
Дата:
Сообщение: Re: Delete rules and functions
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?