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;