Tech Junkie Blog - Real World Tutorials, Happy Coding!: SQL: AVG() Aggregate Function

Thursday, August 19, 2021

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






No comments:

Post a Comment

Search This Blog