Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1392

Support sub-query in the SELECT list

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0, 4.0.0
    • None
    • None
    • None

    Description

      Example:
      SELECT Name, ListPrice,
      (SELECT AVG(ListPrice) FROM Production.Product) AS Average,
      ListPrice - (SELECT AVG(ListPrice) FROM Production.Product)
      AS Difference
      FROM Production.Product
      WHERE ProductSubcategoryID = 1;

      Attachments

        Activity

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

          People

            maryannxue Wei Xue
            maryannxue Wei Xue

            Dates

              Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 120h
              120h
              Remaining:
              Remaining Estimate - 120h
              120h
              Logged:
              Time Spent - Not Specified
              Not Specified

              Slack

                Issue deployment