Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 172AE9F9718 for ; Sun, 19 Aug 2007 12:38:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 35676-01 for ; Sun, 19 Aug 2007 12:38:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp-out01.email.it (smtp-out01.email.it [212.97.34.21]) by postgresql.org (Postfix) with ESMTP id 8F69E9F9715 for ; Sun, 19 Aug 2007 12:38:40 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out01.email.it (Postfix) with ESMTP id 551394009 for ; Sun, 19 Aug 2007 17:38:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at email.it Received: from smtp-out01.email.it ([127.0.0.1]) by localhost (smtp-out01.email.it [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0lFXAs8gMbMA for ; Sun, 19 Aug 2007 17:38:37 +0200 (CEST) Date: Sun, 19 Aug 2007 17:38:43 +0200 To: pgsql-admin@postgresql.org From: giuseppe.derossi@email.it Reply-to: giuseppe.derossi@email.it Subject: HELP, can't implement e filter Message-ID: <5721d54f0ab9128f6c815295a036b0f4@83.225.9.51> X-Priority: X-Mailer: Webmail-Email.it [Mailer version 1.70] X-SenderIP: 83.225.9.51 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/220 X-Sequence-Number: 26551 Hi, I need to implement a filter in order to select from the first table the second one... it could be simple, but i'm wasting time. Please, is there anyone could help me? thanks in advance Giu c1 c2 c3 c4 c5 1)133659;1;"0039";"00121";7 2)133664;1;"0039";"00121";12 3)133664;2;"0039";"00121";12 4)133665;2;"0039";"00121";12 5)135460;1;"0039";"01152"; 6)135460;2;"0039";"01152"; 7)135471;1;"0050";"00153";4 8)135471;2;"0050";"00153";4 1)133659;1;"0039";"00121";7 3)133664;2;"0039";"00121";12 4)133665;2;"0039";"00121";12 6)135460;2;"0039";"01152"; 8)135471;2;"0050";"00153";4 -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Una settimana da sogno nelle pił belle localitą di vacanza, con Mondolastminute trovi ogni settimana l'offerta che fa per te! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6852&d=20070819