Re: Problems Formulating a SELECT - Mailing list pgsql-sql

From Richard Huxton
Subject Re: Problems Formulating a SELECT
Date
Msg-id 200210090947.15918.dev@archonet.com
Whole thread Raw
In response to Re: Problems Formulating a SELECT  (Charles Hauser <chauser@duke.edu>)
List pgsql-sql
On Tuesday 08 Oct 2002 7:19 pm, Charles Hauser wrote:
> Richard,
>
[snip]
> Is there a method to remove duplicate results?  For instance the query
> below in part yields :

SELECT DISTINCT ... is what you're after. I'd do it in the views so the join
has less rows to compare against.

> chlamy_est-> ;
>  contig_id
> -----------
>      27170
>      27173
>      27173
>      27179
>      27179
>      27179
>      27179
>      27179

--  Richard Huxton


pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Temporary tables and indexes
Next
From: "Rudi Starcevic"
Date:
Subject: PLPGSQL errors