Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4399

Syntax description for TableViewOrFunctionExpression lack subquery option

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: