Course
Simulator
More
Premium
Log in
PostgreSQL Function Reference
Functions
COUNT
COUNT
Returns the number of rows or non-null values.
PostgreSQL 17.5
COUNT
(
expression
)
expression
The expression to count (use * for all rows).
Examples
PostgreSQL 17.5
SELECT
COUNT
(
*
)
FROM
FamilyMembers
;