Tech Junkie Sandbox
Thursday, March 5, 2015
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment