Derby
  1. Derby
  2. DERBY-4399

Syntax description for TableViewOrFunctionExpression lack subquery option

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.3.0
    • Fix Version/s: 10.6.1.0
    • Component/s: Documentation
    • Labels:
      None
    • Urgency:
      Normal

      Description

      In the reference manual, we find these syntax descriptions (start with http://db.apache.org/derby/docs/dev/ref/rrefsqlj21583.html):

      TableExpression:

      { TableViewOrFunctionExpression | JOIN operation }

      TableViewOrFunctionExpression:

      { table-Name | view-Name | TableFunctionInvocation}

      [ [ AS ] correlation-Name
      [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

      I cannot find a way from the "FROM clause" to the TableSubquery production, so I think the latter should read:

      { table-Name | TableSubquery | view-Name | TableFunctionInvocation }

      [ [ AS ] correlation-Name
      [ (Simple-column-Name [ , Simple-column-Name]* ) ] ] ]

      Also, the "JOIN operation" is not clickable.

      1. rreftableexpression.html
        6 kB
        Kim Haase
      2. rreftableexpression.html
        6 kB
        Kim Haase
      3. rrefsqlj33215.html
        3 kB
        Kim Haase
      4. rrefsqlj33215.html
        3 kB
        Kim Haase
      5. DERBY-4399-2.diff
        3 kB
        Kim Haase
      6. DERBY-4399.diff
        5 kB
        Kim Haase

        Activity

          People

          • Assignee:
            Kim Haase
            Reporter:
            Dag H. Wanvik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development