pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedeliminating duplicates in results..
2+ messages / 2 participants
[nested] [flat]
* eliminating duplicates in results..
@ 2000-06-21 23:53 Francisco Hernandez <xy0xy0@earthlink.net>
2000-06-22 14:53 ` Re: eliminating duplicates in results.. Jesus Aneiros <aneiros@jagua.cfg.sld.cu>
0 siblings, 1 reply; 2+ messages in thread
From: Francisco Hernandez @ 2000-06-21 23:53 UTC (permalink / raw)
To: 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..
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: eliminating duplicates in results..
2000-06-21 23:53 eliminating duplicates in results.. Francisco Hernandez <xy0xy0@earthlink.net>
@ 2000-06-22 14:53 ` Jesus Aneiros <aneiros@jagua.cfg.sld.cu>
0 siblings, 0 replies; 2+ messages in thread
From: Jesus Aneiros @ 2000-06-22 14:53 UTC (permalink / raw)
To: Francisco Hernandez <xy0xy0@earthlink.net>; +Cc: pgsql-sql
SELECT DISTINCT
On Wed, 21 Jun 2000, Francisco Hernandez wrote:
> 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..
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-06-22 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-06-21 23:53 eliminating duplicates in results.. Francisco Hernandez <xy0xy0@earthlink.net>
2000-06-22 14:53 ` Jesus Aneiros <aneiros@jagua.cfg.sld.cu>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox