bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MS Access Count() Function

Concept visual

MS Access Count() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the number of products in the "Products" table:

SELECT Count(ProductID) AS NumberOfProducts FROM Products;

Definition and Usage

The Count() function returns the number of records returned by a select query.

Note:

NULL values are not counted.

Syntax

Count(

expression )

Parameter Values

Parameter

Description expression

Required. A field or a string value

Technical Details

Works in:

From Access 2000

Previous

❮ MS Access Functions

Next

Previous

MS Access Cos() Function

Next

MS Access Exp() Function