Re: How to find records with the same field? - Mailing list pgsql-general

From Joost Kraaijeveld
Subject Re: How to find records with the same field?
Date
Msg-id A3D1526C98B7C1409A687E0943EAC41001EA4A@obelix.askesis.nl
Whole thread Raw
In response to How to find records with the same field?  ("Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl>)
Responses Re: How to find records with the same field?  (Michael Kleiser <mkl@webde-ag.de>)
List pgsql-general
Thanks everyone for answering. Apparently my question was not clear enough.
 
I want something like this:
 
select col1, col2,col3, col4 
from table1
where
col1 =col1 and
col2 = col2 and
col3 = col3
order by col4
 
But if I run this query I get all the records in the table and not just the (double) ones with the same columns.
 
TIA
 
Joost
 

pgsql-general by date:

Previous
From: "Peter Alberer"
Date:
Subject: Re: How to find records with the same field?
Next
From: Lars Erik Thorsplass
Date:
Subject: Stored procedures and "pseudo" fields..