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

Support sub-query in the SELECT list

    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

          People

            maryannxue Wei Xue
            maryannxue Wei Xue
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

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