I'm running this query basically word for word from the book.
Provide a listing of all of the products that includes the difference between its standard price and the overall average standard price of all products.
SELECT ProductStandardPrice – PriceAvg AS Difference
FROM Product_T, (SELECT AVG(ProductStandardPrice) AS PriceAvg
FROM Product_T);
I keep getting this error:
Msg 102, Level 15, State 1, Line 3 Incorrect syntax near ';'.