Forum Replies Created

Viewing post 1 (of 1 total)

  • Reply To: Get 2 decimals in my query

    DataCamp accepts it like this however yours is correct too:

    SELECT 'Average Unit Price' AS [Per Category],

    [1], [2], [3], [4], [5], [6], [7], [8]

    FROM

    (SELECT CategoryID, AVG(UnitPrice) as UnitPrice

    FROM Products

    GROUP BY CategoryID)...

    • This reply was modified 4 years, 6 months ago by  szkat.

Viewing post 1 (of 1 total)