Re: PostgreSQL Select command that will list only duplicate rows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



select rowName,count(1)
from table
group by rowName
having count(1)>1

On Wed, Nov 10, 2010 at 9:06 AM, Khangelani Gama <Khangelani.Gama@xxxxxxxxxxxxxxxxxx> wrote:

Hi all

Â

I am looking for a PostgreSQL Select command that will list me only duplicate rows.

Â

I am using psql 8.4.4.10

Â

Â

Thanks in advance

Â

Â

Â

Â

Â

Â

Confidentiality Notice:http://ucs.co.za/conf.html

Â

Â



The contents of and attachments to this e-mail are intended for the addressee only, and may contain the confidential information of UCS Group and/or its subsidiaries. Any review, use or dissemination thereof by anyone other than the intended addressee is prohibited. If you are not the intended addressee please notify the writer immediately and destroy the e-mail. UCS Group Limited and its subsidiaries distance themselves from and accept no liability for unauthorised use of their e-mail facilities or e-mails sent other than strictly for business purposes.



--
---------------------------------------
Viktor BojoviÄ
---------------------------------------
Wherever I go, Murphy goes with me

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux