Re: [GENERAL] Selecting duplicates - Mailing list pgsql-general

From Vadim Mikheev
Subject Re: [GENERAL] Selecting duplicates
Date
Msg-id 37AA99A3.C37EB3F1@krs.ru
Whole thread Raw
In response to Re: [GENERAL] Selecting duplicates  (Mike Mascari <mascarim@yahoo.com>)
List pgsql-general
vac=> create table t (x int);
CREATE
vac=> insert into t values (1);
INSERT 18579 1
vac=> insert into t values (1);
INSERT 18580 1
vac=> insert into t values (2);
INSERT 18581 1
vac=> select x from t group by x having count(*) > 1;
x
-
1
(1 row)

Vadim

pgsql-general by date:

Previous
From: Mike Mascari
Date:
Subject: Re: [GENERAL] Selecting duplicates
Next
From: Yury Don
Date:
Subject: Re: [GENERAL] Selecting duplicates