HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Return the average value for the "Price" column in the "Products" table
The Avg() function returns the average value of an expression.
Avg(expression)
Parameter | Description |
---|---|
expression | Required. A numeric value (can be a field or a formula) |
Works in: | From Access 2000 |
---|
Select all the products that have a price above the average price:
SELECT * FROM Products
WHERE Price > (SELECT Avg(Price) FROM Products);