Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 17471 invoked from network); 12 Feb 2007 04:30:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2007 04:30:32 -0000 Received: (qmail 3987 invoked by uid 500); 12 Feb 2007 04:30:37 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 3974 invoked by uid 500); 12 Feb 2007 04:30:37 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 3963 invoked by uid 99); 12 Feb 2007 04:30:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Feb 2007 20:30:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [203.202.1.123] (HELO barge.anchor.net.au) (203.202.1.123) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Feb 2007 20:30:26 -0800 Received: from [127.0.0.1] (dsl-58-6-32-215.nsw.westnet.com.au [58.6.32.215]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by barge.anchor.net.au (Postfix) with ESMTP id 04DDA100CB for ; Mon, 12 Feb 2007 15:33:21 +1100 (EST) Message-ID: <45CFED31.8000409@backstagetech.com.au> Date: Mon, 12 Feb 2007 15:29:37 +1100 From: Scott Eade User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Apache Torque Developers List Subject: Additional join criteria Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I see that we deal with the situation where we need to do a basic join from a table more than once this: e.g. select a.*, b.*, c.* from a left join b on ... left join c on ...; But it is not obvious whether or not we provide the ability to specify additional criteria against the table we are joining to thus: e.g. select a.*, b.*, *.c from a left join b on a.a_id = b.a_id and b.active = 'Y' left join c on ...; Is this currently possible and if so, which criterion would I need to grab in order to do it? Thanks, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org