Return the number of products in the "Products" table:
SELECT Count(ProductID) AS NumberOfProducts FROM Products;
Try it Yourself »
The Count() function returns the number of records returned by a select query.
Note: NULL values are not counted.
Count(
expression)
Parameter | Description |
---|---|
expression | Required. A field or a string value |
Works in: | From Access 2000 |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!