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

Syntax description for TableViewOrFunctionExpression lack subquery option

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.5.3.0
    • 10.6.1.0
    • Documentation
    • None
    • 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. rreftableexpression.html
          6 kB
          Camilla Haase
        2. rrefsqlj33215.html
          3 kB
          Camilla Haase
        3. DERBY-4399-2.diff
          3 kB
          Camilla Haase
        4. rreftableexpression.html
          6 kB
          Camilla Haase
        5. rrefsqlj33215.html
          3 kB
          Camilla Haase
        6. DERBY-4399.diff
          5 kB
          Camilla Haase

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chaase3 Camilla Haase
            dagw Dag H. Wanvik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment