Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 48182 invoked from network); 20 Nov 2009 19:14:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 19:14:21 -0000 Received: (qmail 45714 invoked by uid 500); 20 Nov 2009 19:14:21 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 45645 invoked by uid 500); 20 Nov 2009 19:14:21 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 45636 invoked by uid 99); 20 Nov 2009 19:14:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 19:14:21 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 19:14:18 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8E0932388904; Fri, 20 Nov 2009 19:13:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r882686 - in /db/derby/docs/trunk/src/ref: rrefsqlj33215.dita rreftableexpression.dita Date: Fri, 20 Nov 2009 19:13:58 -0000 To: derby-commits@db.apache.org From: chaase3@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091120191358.8E0932388904@eris.apache.org> Author: chaase3 Date: Fri Nov 20 19:13:56 2009 New Revision: 882686 URL: http://svn.apache.org/viewvc?rev=882686&view=rev Log: DERBY-4399: Syntax description for TableViewOrFunctionExpression lacks subquery option Modified 2 topics. Patch: DERBY-4399-2.diff Modified: db/derby/docs/trunk/src/ref/rrefsqlj33215.dita db/derby/docs/trunk/src/ref/rreftableexpression.dita Modified: db/derby/docs/trunk/src/ref/rrefsqlj33215.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rrefsqlj33215.dita?rev=882686&r1=882685&r2=882686&view=diff ============================================================================== --- db/derby/docs/trunk/src/ref/rrefsqlj33215.dita (original) +++ db/derby/docs/trunk/src/ref/rrefsqlj33215.dita Fri Nov 20 19:13:56 2009 @@ -21,11 +21,19 @@ TableViewOrFunctionExpression - { table-Name | view-Name | TableFunctionInvocation} - [ [ AS ] correlation-Name - [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ] - +{ + { table-Name | view-Name } + [ CorrelationClause ] +| + { TableSubquery | TableFunctionInvocation } + CorrelationClause +} +

where CorrelationClause is

+[ AS ] +correlation-Name +[ ( Simple-column-Name [ , Simple-column-Name ]* ) ] + +
Modified: db/derby/docs/trunk/src/ref/rreftableexpression.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rreftableexpression.dita?rev=882686&r1=882685&r2=882686&view=diff ============================================================================== --- db/derby/docs/trunk/src/ref/rreftableexpression.dita (original) +++ db/derby/docs/trunk/src/ref/rreftableexpression.dita Fri Nov 20 19:13:56 2009 @@ -51,11 +51,11 @@ can specify, see .

Syntax { -TableViewOrFunctionExpression | JOIN operation +TableViewOrFunctionExpression | JOIN operation } -Example-- SELECT from a Join expression +Example-- SELECT from a JOIN expression SELECT E.EMPNO, E.LASTNAME, M.EMPNO, M.LASTNAME FROM EMPLOYEE E LEFT OUTER JOIN DEPARTMENT INNER JOIN EMPLOYEE M