Re: Where clause - Mailing list pgsql-sql

From Michael Landin Hostbaek
Subject Re: Where clause
Date
Msg-id 20070627081259.GR50866@mich2.itxmarket.com
Whole thread Raw
In response to Re: Where clause  ("news.gmane.org" <nis@superlativ.dk>)
List 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 by date:

Previous
From: Wiebe Cazemier
Date:
Subject: Re: Delete rules and functions
Next
From: Andreas Joseph Krogh
Date:
Subject: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?