pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
To: naveen_shanbhag@hotmail.com
Subject: Re: selecting duplicate records
Date: Mon, 22 Sep 2003 15:25:14 +0200
Message-ID: <3F6EF83A.129807D6@rodos.fzk.de> (raw)

> 1. How to select duplicate records only from a single table using a
select
> query.
>
e.g.
select sid,count(sid) from location group by sid having count(sid)>1;

Do you get the idea?
Your request is pretty unspecific, so if this is not what you're asking
for,
try again.

Regards, Christoph





view thread (4+ messages)  latest in thread

Message-ID: <3F6EF83A.129807D6@rodos.fzk.de>
Permalink:  ../3F6EF83A.129807D6@rodos.fzk.de/
Also on:    postgresql.org/message-id/3F6EF83A.129807D6@rodos.fzk.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ch@rodos.fzk.de, naveen_shanbhag@hotmail.com
  Subject: Re: selecting duplicate records
  In-Reply-To: <3F6EF83A.129807D6@rodos.fzk.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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