You can count rows in a table to determine:
titles
table.titles
table.
When you count values in a column, nulls are not included in the count. For example, you might count the number of books in a titles
table that have values in the advance
column. By default, the count includes all values, not just unique values.
The procedures for all three types of counts are similar.
To count all the rows in a table
Check * (All Columns) in the input source window for the table.
The Query Designer automatically fills the term Count into the Group By column in the Grid pane and assigns a column alias to the column you are summarizing to create a useful column heading in query output. For more details, see Creating Column Aliases.
To count all the rows that meet a condition
The Query Designer automatically fills the term Count into the Group By column in the Grid pane and assigns a column alias to the column you are summarizing to create a useful column heading in query output. For more details, see Creating Column Aliases.
The Query Designer automatically fills the term Group By into the Group By column of the grid.
To count the values in a column
The Query Designer automatically fills the term Group By into the Group By column of the grid.
To count only unique values, choose Count Distinct.