Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 26298 invoked from network); 7 Sep 2009 21:11:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Sep 2009 21:11:20 -0000 Received: (qmail 13994 invoked by uid 500); 7 Sep 2009 21:11:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 13937 invoked by uid 500); 7 Sep 2009 21:11:20 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 13928 invoked by uid 99); 7 Sep 2009 21:11:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 21:11:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 21:11:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8552E234C044 for ; Mon, 7 Sep 2009 14:10:57 -0700 (PDT) Message-ID: <1707250921.1252357857530.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 14:10:57 -0700 (PDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4370) Implement JOIN ... USING syntax In-Reply-To: <2069271087.1252317358238.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752259#action_12752259 ] Dag H. Wanvik commented on DERBY-4370: -------------------------------------- Patch looks simple enough, I don't know about the behavior you mention, I'll go see if I can grok the standard on this. > Implement JOIN ... USING syntax > ------------------------------- > > Key: DERBY-4370 > URL: https://issues.apache.org/jira/browse/DERBY-4370 > Project: Derby > Issue Type: Improvement > Components: SQL > Affects Versions: 10.6.0.0 > Reporter: Knut Anders Hatlen > Priority: Minor > Attachments: using.diff > > > The SQL standard defines two ways to specify the join condition in an INNER JOIN or a (LEFT/RIGHT/FULL) OUTER JOIN: with an ON clause or with a USING clause. Derby currently only accepts joins with an ON clause. Internally, Derby has code that supports USING. This code should be enabled to ease the migration to Derby. We must also verify that the implementation adheres to the standard before we enable it. > Since USING is already a reserved keyword in Derby's parser, enabling the USING syntax should not cause any compatibility issues for existing queries. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.