Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.3/8.11.1) with SMTP id f2LJZjt28901 for ; Wed, 21 Mar 2001 14:35:45 -0500 (EST) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2KJdjH11960 for ; Tue, 20 Mar 2001 14:39:45 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f2KJFEh53411 for pgsql-sql@postgresql.org; Tue, 20 Mar 2001 14:15:14 -0500 (EST) (envelope-from news) From: "Marios Moutzouris" X-Newsgroups: comp.databases.postgresql.sql Subject: rows equal Date: Tue, 20 Mar 2001 21:23:04 +0200 Lines: 25 Message-ID: <998a7e$ppc$1@nnrp01.ops.uunet.co.za> X-Complaints-To: abuse@uunet.co.za X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 To: pgsql-sql@postgresql.org X-Archive-Number: 200103/419 X-Sequence-Number: 2087 Hello I need a sql query to a postgresql database which can tell me whether the rows returned ar equal. i.e ------- Status ------- Order ------- Collected ---------- This is two columns. Both are not equal. Any help?.......without having to write code to fetch the result and go through etc etc. thanks marios