X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id F13CA476130 for ; Thu, 27 Feb 2003 20:09:43 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 22511-04 for ; Thu, 27 Feb 2003 20:09:33 -0500 (EST) Received: from smtpout.mac.com (A17-250-248-87.apple.com [17.250.248.87]) by postgresql.org (Postfix) with ESMTP id 5030B476188 for ; Thu, 27 Feb 2003 18:17:08 -0500 (EST) Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h1RNHAdD006439 for ; Thu, 27 Feb 2003 15:17:10 -0800 (PST) Received: from mac.com ([81.5.147.162]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id HAZQ0L00.N1A for ; Thu, 27 Feb 2003 15:17:09 -0800 Date: Thu, 27 Feb 2003 23:17:06 +0000 Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Beginner needs help From: Aaron Chu To: pgsql-sql@postgresql.org Content-Transfer-Encoding: 7bit Message-Id: <96853212-4AA9-11D7-8F7C-000393017462@mac.com> X-Mailer: Apple Mail (2.551) X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/632 X-Sequence-Number: 12030 Hi, I have a table which has a column of surnames (string) and I would like to know how can I retrieve (SELECT) all the repeated surnames, i.e. more than one person who has the same surname. Thanks.