Re: how to find duplicates key - Mailing list pgsql-novice

From Heath Tanner
Subject Re: how to find duplicates key
Date
Msg-id 6ABD3730-E7BC-11D7-8C53-0003930C11A0@inligo.com
Whole thread Raw
In response to how to find duplicates key  (Christian Valverde <valval@porta.net>)
List pgsql-novice
On Monday, September 15, 2003, at 04:01  PM, Christian Valverde wrote:

> how do i find a duplicate key so i can make a unique index

SELECT my_key, count(*) FROM my_table GROUP BY my_key HAVING count(*) >
1;

-heath


pgsql-novice by date:

Previous
From: Christian Valverde
Date:
Subject: how to find duplicates key
Next
From: "Mickey"
Date:
Subject: FATAL errors a plenty