Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 64956 invoked from network); 27 Apr 2010 14:48:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 14:48:54 -0000 Received: (qmail 87887 invoked by uid 500); 27 Apr 2010 14:48:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 87864 invoked by uid 500); 27 Apr 2010 14:48:54 -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 87856 invoked by uid 99); 27 Apr 2010 14:48:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 14:48:54 +0000 X-ASF-Spam-Status: No, hits=-1354.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 14:48:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3REmXIN002896 for ; Tue, 27 Apr 2010 14:48:33 GMT Message-ID: <17289027.34321272379713193.JavaMail.jira@thor> Date: Tue, 27 Apr 2010 10:48:33 -0400 (EDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4401) Document USING clause in joins In-Reply-To: <1330314536.1255011631290.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861415#action_12861415 ] Knut Anders Hatlen commented on DERBY-4401: ------------------------------------------- The last cosmetic fix was committed to trunk right after the 10.6 branch was created. I have now merged it to the 10.6 branch and committed revision 938479. > Document USING clause in joins > ------------------------------ > > Key: DERBY-4401 > URL: https://issues.apache.org/jira/browse/DERBY-4401 > Project: Derby > Issue Type: Improvement > Components: Documentation > Affects Versions: 10.6.1.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Fix For: 10.6.1.0 > > Attachments: inner_syntax.diff, using.diff, using.zip > > > DERBY-4370 made some of the join operations accept a USING clause. This should be documented in the reference manual. > The JOIN operations section talks about "join clause", which should be fine since that could mean both ON clause and USING clause. > The sections INNER JOIN operation, LEFT OUTER JOIN operation and RIGHT OUTER JOIN operation need to be updated with the new syntax. We need to replace > { > ON booleanExpression > } > with > { > { ON booleanExpression } | > { USING ( Simple-column-Name [ , Simple-column-Name ]* ) } > } > Perhaps it would make sense to factor out this part of the syntax into a separate element JoinSpecification, and explain the meaning of USING there. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.