SQL: AVG() Aggregate Function

The AVG() function gets the average of a column, the following query gets the average of the UnitPrice column in the Northwind Products table.

SELECT AVG(UnitPrice) AS AveragePrice
FROM Products

Comments

Popular posts from this blog

Docker : Adding Docker Repository Key and Updating Docker To The Latest Version

ASP.NET Core : Adding The Default View With _ViewStart.cshtml

Enable ASP.NET Core to Serve Static Files