eliminating duplicates in results..

From: Francisco Hernandez <xy0xy0(at)earthlink(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: eliminating duplicates in results..
Date: 2000-06-21 23:53:41
Message-ID: 39515585.308A428C@earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hello everyone,
i have a query like so:

select item.type as ig_id,item.with_design,item_group.type as
group_name, 'true' as valid from item,item_group where item.description
~* 'w/out' and item.type = item_group.ig_id;

and i get duplicates.. how could i remove all the duplicate entrys using
SQL?
the duplicates are fine.. im just trying to migrate data from one table
to another.. with columns renamed and some added/removed..

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jesus Aneiros 2000-06-22 14:53:36 Re: eliminating duplicates in results..
Previous Message Ed 2000-06-21 14:49:38 Simply append...